Move post to queue slot
Moves a scheduled post of this channel (queued or custom time) onto one of the channel’s free slots, as a queued post. Take slot_at from GET /channels/{account}/queue/slots. A slot that is taken, not in the posting schedule, more than 90 days away or held by a pending request returns 422 on slot_at; so does a post that is not scheduled on this channel. A post created for several channels at once (before TryPost 2.0) cannot be queued: 422 on queue.
Authorizations
Workspace API key from Settings → API Keys.
Path Parameters
Social account (channel) id. An account of another workspace returns 404.
Body
Response
The moved post.
A post on one channel. Posts created together from several channels are independent posts that share a post_group_id.
Shared by the posts created in one batch.
A workspace member. Only the id and name are exposed.
Post text, stored as sent (posts written in the app hold the editor's HTML).
pending_approval is a post a member who needs approval asked to schedule or publish.
draft, pending_approval, scheduled, publishing, published, partially_published, failed queue: the post holds a slot of the channel's posting schedule. custom: it is scheduled at its own time.
queue, custom, null UTC, format Y-m-d H:i:s.
UTC, format Y-m-d H:i:s.
Who asked for approval (not always the author).
UTC, format Y-m-d H:i:s.
A workspace member. Only the id and name are exposed.
UTC, format Y-m-d H:i:s.
Repeat rule, or null.
network for posts imported from the network (published outside TryPost).
trypost, network UTC, format Y-m-d H:i:s.
UTC, format Y-m-d H:i:s.

