DELETE
/
v1
/
api
/
messages
/
{messageId}
Cancel a queued or scheduled message
curl --request DELETE \
  --url https://backend.blooio.com/v1/api/messages/{messageId} \
  --header 'Authorization: Bearer <token>'
{
  "message_id": "Qm8FhbH3P7R",
  "cancelled": true,
  "status": "cancelled",
  "message": "Cancellation requested"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header as Bearer YOUR_API_KEY.

Path Parameters

messageId
string
required

Unique identifier for the message returned by the API.

Response

Cancellation initiated or message already in non-cancellable state.

message_id
string
cancelled
boolean

True if cancellation was successful, false otherwise.

status
string

The current status of the message.

current_status
string | null

The current status if cancellation failed (deprecated, use 'status' instead).

message
string

Human-readable message about the cancellation result.