Skip to main content
PATCH
Reorder Chat Queue

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys.

Path Parameters

id
string<uuid>
required

The unique identifier of the replica

chatId
string
required

The unique identifier of the chat

Body

application/json

Request to move a queued message to a new position.

messageId
string
required

Queued message ID.

position
integer
required

Zero-based target position.

Response

Queue reordered successfully

Result of a queue mutation.

success
boolean
required

Whether the queue mutation changed the queue.

queue
object[]
required