stet
API reference

Cancel a broadcast

Requires `write` (`broadcast:send`). Cancelable from `draft`, `scheduled`, or `sending`; best-effort terminates any in-flight workflow instance. Any other status (a terminal one) 409s.

POST/api/broadcasts/{id}/cancel
AuthorizationBearer <token>

A Stet API key (prefix bk_), created under Settings → API keys. The whole API requires the Growth plan or higher; keys are scoped read or write — composing and sending require write.

In: header

Path Parameters

idstring

Response Body

curl -X POST "https://app.stethq.com/api/broadcasts/string/cancel"
{
  "broadcastId": "string",
  "status": "canceled"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}