Add a post to the queue
POST/:workspace/posts/add-to-queue/:post
Schedules the post at the next available slot in the workspace's posting schedule.
The resulting status is scheduled if the authenticated user is allowed to approve posts in this workspace,
and needs_approval otherwise.
Returns 422 when the post is already in history (published or failed), is currently being published,
has no accounts attached, or the posting schedule has no available times.
It also returns 422 when the post's content does not meet the publishing requirements of its accounts' platforms.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Queue result.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.
Workspace or post not found.
The request body failed validation.