Scheduled Messages
Delete scheduled message
Delete a scheduled or queued message so it will not be sent.
Soft-deletes the message (and records a cancellation in its delivery log). Returns 404 if no pending/queued message with this id is owned by the caller.
Request
curl -X DELETE "https://api.blueticks.co/v1/scheduled-messages/"{
"success": true,
"data": {
"id": "string",
"deleted": true
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"requestId": "string",
"details": [
{
"path": "string",
"code": "string",
"message": "string"
}
]
}
}Path Parameters
id*string
Response
Response Body
application/json
application/json
Update scheduled message
Edit a previously-queued message that has not dispatched yet (status `pending`).
Schedule message
Send or schedule a WhatsApp message to the chat named in the URL path (`{chatId}` — a phone number in E.164 format, e.g. `+15551234567`, or a WhatsApp chat id like `12345@c.us` / `1234567890@g.us` / `12345@newsletter`).