Skip to main content
POST
Decline queued messages

Authorizations

Authorization
string
header
required

An API key from the console, starting ob_live_, sent as Authorization: Bearer <key>.

Body

application/json
sendIds
string[]
required

1 to 100 queued messages, each once, by the id the queue lists.

Required array length: 1 - 100 elements
Required string length: 24
Pattern: ^[0-9a-fA-F]+$
Example:

Response

Which messages were declined, and which were not.

declined
string[]
required
ignored
string[]
required

Messages in a state this cannot move.

notFound
string[]
required

Ids the organization does not have.