Skip to main content
PUT
Reorder message queue

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app whose message queue this request acts on.

Body

application/json
item_ids
string[]
required

IDs of queued messages in the order you want them to run. IDs not in the queue are ignored, and queued messages you leave out keep their order after the ones you list. Each ID can appear once.

Example:

Response

The queue in its new order.

The messages waiting to run, in the order they run.

items
QueuedMessage · object[]
required

The queued messages, next to run first. Holds at most 7.

Example:
is_paused
boolean
required

Whether the queue is paused. While it is, queued messages don't run.

Example:

false