Skip to main content
POST
Reorder the next-post queue

Authorizations

Authorization
string
header
required

A Replier API key (rpl_...).

Headers

Idempotency-Key
string

Send the same key when you retry, and the request runs once. Without one, every request runs.

Required string length: 1 - 128

Path Parameters

workspace_id
string<uuid>
required

Workspace ID returned by GET /v1/workspaces

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
channel
enum<string>
required

Channel returned with the account by GET /v1/workspaces/{workspace_id}/accounts

Available options:
instagram,
facebook
account_id
string
required

Account ID returned by GET /v1/workspaces/{workspace_id}/accounts

Minimum string length: 1

Body

application/json
target_ids
string<uuid>[]
required

Every queued target_id, first in line first.

Required array length: 1 - 50 elements
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

OK

workspace
object
required
channel
enum<string>
required
Available options:
instagram,
facebook
account_id
string
required
queue
object[]
required

next_post targets waiting on this account, in queue order.