Skip to content
PaalChat Docs

Cancel scheduled message

.md
DELETE
https://whatsapp.paaltech.org/api/v1/businesses/{external_id}/messages/{id}

Token ability: messages.send ยท Authentication

Withdraws a message still waiting for its send_at (or for the business's quiet hours to end). Its status becomes cancelled and a message.status callback follows. Once it is being sent it cannot be cancelled (409 not_cancellable).

Path parameters

external_id string required

Your own ID for the business (Multi-SKUUL - the tenant ID).

Max 191 characters. Pattern ^[A-Za-z0-9._:-]+$.

id integer required

PaalChat's message ID (data.id from Send message).

Responses

200

Cancelled.

401

unauthenticated - missing, invalid, revoked or expired token

403

missing_ability, product_suspended or product_token_required

404

not_found - not yours, or does not exist

409

not_cancellable.

429

rate_limited - over 300 requests/minute for this product

Errors always look like {"error": {"code", "message"}} - see Errors and status codes.