Queue
http://localhost:4000/api/v1 /publishing/pause Where publishing is paused
Each active pause: the whole workspace (clientId null) or one client, who paused it, when and why.
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/publishing/pause" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /publishing/pause Pause all publishing for the workspace or one client
Every scheduled, queued and automation-made post is held, and stays scheduled, until publishing is resumed.
Request body
application/json
clientIdreason{
"clientId": null,
"reason": "string"
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/publishing/pause" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientId":null,"reason":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /publishing/resume Resume publishing, and say what happens to posts whose time passed
overdue: publish_now (one minute apart, oldest first), next_slots (the channel's next free times) or drafts.
Request body
application/json
clientIdoverdue{
"clientId": null,
"overdue": "publish_now"
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/publishing/resume" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientId":null,"overdue":"publish_now"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/best-times Best times to post on a channel
Up to seven ranked times per weekday in the channel's zone, from its own posts of the last 16 weeks (ranked by goal), follower-online hours where the platform reports them, else general default times (source: default).
Parameters
channelIdgoaldaysperDayCode samples
cURL
curl -X GET "http://localhost:4000/api/v1/slots/best-times?channelId=<channelId>" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/queue Queue status: goals, streaks and queue length per channel
Parameters
channelIdsCode samples
cURL
curl -X GET "http://localhost:4000/api/v1/slots/queue" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/{channelId}/queue The queued posts of a channel in order
Parameters
channelIdtagIdCode samples
cURL
curl -X GET "http://localhost:4000/api/v1/slots/{channelId}/queue" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/goals Set a channel's weekly posting goal
perWeek 0 removes the goal. The answer says how many posting times the channel is missing to reach it.
Request body
application/json
channelIdperWeek{
"channelId": "string",
"perWeek": 0
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/slots/goals" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"channelId":"string","perWeek":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/{channelId}/shuffle Shuffle a channel's queued posts across their existing times
Parameters
channelIdCode samples
cURL
curl -X POST "http://localhost:4000/api/v1/slots/{channelId}/shuffle" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/{channelId}/move Move a queued post to the top or the bottom of its channel's queue
Parameters
channelIdRequest body
application/json
postIdto{
"postId": "string",
"to": "top"
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/slots/{channelId}/move" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"postId":"string","to":"top"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/{channelId}/duplicate Copy a posting time to other weekdays
Parameters
channelIdRequest body
application/json
weekdaytimetoWeekdays{
"weekday": 0,
"time": "string",
"toWeekdays": [
0
]
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/slots/{channelId}/duplicate" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"weekday":0,"time":"string","toWeekdays":[0]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/{channelId}/recommended Use the recommended times as a channel's posting times
replace swaps all its posting times, add keeps them and adds the recommended ones (raise perDay for more).
Parameters
channelIdRequest body
application/json
modeperDaygoal{
"mode": "add",
"perDay": 2,
"goal": "engagement"
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/slots/{channelId}/recommended" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"mode":"add","perDay":2,"goal":"engagement"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/{channelId}/timezone Set the timezone a channel's posting times are read in
null goes back to the workspace timezone.
Parameters
channelIdRequest body
application/json
timezone{
"timezone": "string"
}Code samples
cURL
curl -X PUT "http://localhost:4000/api/v1/slots/{channelId}/timezone" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"timezone":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/categories Categories (tags) used by posting times, with their pause state
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/slots/categories" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}http://localhost:4000/api/v1 /slots/categories/pause Pause or resume a category: its posting times are skipped while paused
Request body
application/json
tagIdpaused{
"tagId": "string",
"paused": true
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/slots/categories/pause" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"tagId":"string","paused":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{}Option 1
{}Option 2
{}