Cancel a broadcast

Cancel a scheduled, sending or paused broadcast, as Cancel does on the dashboard.

POSThttps://app.usenotix.dev/api/v1/broadcasts/{broadcastId}/cancel

Needs a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.

Cancel a scheduled, sending or paused broadcast, as Cancel does on the dashboard.

BeforeAfterWhat it means
SCHEDULEDDRAFTNothing went out. Change it and schedule it again.
RUNNING or PAUSEDCANCELEDNobody else is emailed. Emails already sent stay sent. It cannot be resumed; duplicate it to send it again.

Any other broadcast answers 400. The answer's status says which it became.

Who can call it

A full access key, or a live AI key for a broadcast it created itself (any other answers 403 FORBIDDEN; pause it instead). A send-only or read-only key answers 403 SCOPE_DENIED. A key limited to one domain sees only broadcasts that send from its domain; any other answers 404.

Path parameters

broadcastIdstringrequired

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

400

The campaign is not scheduled, sending or paused, or it changed while it was being cancelled.

403

A live AI key cancelling a campaign it did not create.

404

No campaign with this id for the calling team (or, for a key limited to one domain, on its domain).

Every error has the same shape. See all error codes.

curl -X POST "https://app.usenotix.dev/api/v1/broadcasts/<broadcastId>/cancel" \
  -H "Authorization: Bearer $NOTIX_API_KEY"
Response200
{
  "success": true,
  "status": "DRAFT"
}
Open in ClaudeOpen in ChatGPT