Skip to main content
Removes a scheduled message from the list. If it hasn’t been sent yet, it is cancelled and never goes out. If it was already sent, failed, or skipped, it is only removed from the list.
Requires the chat:write scope. Any key with this scope can cancel any schedule in your organization.

Path parameters

string
required
The schedule_id returned when you created the schedule.
This endpoint has no request body — the schedule_id path parameter is the only input.

What happens depending on the schedule’s state

You can delete a schedule at any point in its life.

Response

string
The schedule you removed.
string
Always deleted.

Errors

object
Code CH-1. No schedule with that schedule_id in your organization, or it was already deleted.
object
Returned when the organization has no active subscription.
Error responses share the same envelope as success responses (success, code, http_code, name, message), just with success: false.