Messages
Cancel scheduled messages
Cancels SCHEDULED (not yet sent) messages by an array of messageIds (1–100). Requires a number-scoped key. Real side effect on the send queue.
Requires a number-scoped key.
DELETE
Cancel scheduled messages
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cancels SCHEDULED (not yet sent) messages by an array of messageIds (1–100). Requires a number-scoped key. Real side effect on the send queue.
Requires a number-scoped key.
curl --request DELETE \
--url https://pilotstatus.com.br/v1/messages/cancel \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"messageIds": [
"msg_01HZX...",
"msg_02HZX..."
]
}
'{
"cancelled": 2,
"notFound": 0
}Was this page helpful?
curl --request DELETE \
--url https://pilotstatus.com.br/v1/messages/cancel \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"messageIds": [
"msg_01HZX...",
"msg_02HZX..."
]
}
'{
"cancelled": 2,
"notFound": 0
}