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.
Authorization
Bearer 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.
Format
date-timestrategy?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
Default
1Range
1 <= value <= 10Response Body
application/json
application/json
curl -X GET "https://api.relayapi.dev/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.