Cancel a broadcast
POST /v1/broadcasts/{id}/cancel
Stops a broadcast for good. Messages already being sent finish. The rest are never sent and stay pending.
Needs broadcasts:write.
Path parameters
Section titled “Path parameters”id string · uuid
The broadcast’s ID.
Headers
Section titled “Headers”What you can cancel
Section titled “What you can cancel”A broadcast that is preparing, scheduled, queued, processing or paused. The request takes no body: send none, or {}.
Returns
Section titled “Returns”200 The broadcast object. The broadcast, now cancelled. It also sends a broadcast.status event.
Errors
Section titled “Errors”Besides the ones every request can get:
422
idempotency_mismatchThe Idempotency-Key was used before for a different request, or by another of your API keys.