RelayAPI

Find best available posting slot

Returns suggested posting times using queue schedule, historical engagement data, and collision avoidance. Use strategy 'smart' (default) to combine all signals.

GET
/v1/queue/find-slot
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_*)

In: header

Query Parameters

account_id?string

Account ID to optimize for

after?string

Earliest allowed time (ISO 8601). Defaults to now.

Formatdate-time
strategy?string

Algorithm strategy: queue (slots only), best-time (engagement only), or smart (combined)

Default"smart"

Value in

  • "queue"
  • "best-time"
  • "smart"
count?integer

Number of slot suggestions to return

Range1 <= value <= 10
Default1

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/queue/find-slot"
{  "slots": [    {      "slot_at": "2019-08-24T14:15:22Z",      "score": 0,      "reason": "queue_slot",      "conflicts": 0    }  ],  "fallback": true}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}

Found something wrong? Help us improve this page.

Submit an Issue
Requires a GitHub account.View repo