Queue
GET
http://localhost:4000/api/v1 /slots List posting slots
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/slots" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
[
{
"id": "string",
"organizationId": "string",
"channelId": "string",
"weekday": 0,
"time": "string",
"tagId": "string"
}
]Schema
idstring
required
organizationIdstring
required
channelIdstring
required
weekdaynumber
required
timestring
required
tagIdstring
required
PUT
http://localhost:4000/api/v1 /slots/{channelId} Replace the posting slots of a channel
Parameters
channelIdstring
path
required
Request body
application/json
slotsobject[]
required
Show child parameters
weekdayinteger
required
timestring
required
tagIdstring
{
"slots": [
{
"weekday": 0,
"time": "string",
"tagId": "string"
}
]
}Code samples
cURL
curl -X PUT "http://localhost:4000/api/v1/slots/{channelId}" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"slots":[{"weekday":0,"time":"string","tagId":"string"}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}GET
http://localhost:4000/api/v1 /slots/preview Preview the next free slots per channel
Parameters
channelIdsstring[]
query
countinteger
query
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/slots/preview" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}POST
http://localhost:4000/api/v1 /posts/{postId}/enqueue Schedule a post at the next free slot of each of its channels
Parameters
postIdstring
path
required
Request body
application/json
positionstring
tagIdstring
fromstring
tostring
naturalboolean
{
"position": "bottom",
"tagId": "string",
"from": "2024-01-01T00:00:00Z",
"to": "2024-01-01T00:00:00Z",
"natural": true
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/posts/{postId}/enqueue" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"position":"bottom","tagId":"string","from":"2024-01-01T00:00:00Z","to":"2024-01-01T00:00:00Z","natural":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated