stet
API reference

Update a broadcast's title, sending profile, or saved-audience targeting

Requires `write` (`broadcast:compose`). `audienceIds`, when present, replaces the SAVED-audience set only — the one-time channel group (if any) is always preserved. No status guard: callable regardless of the broadcast's current status.

PATCH/api/broadcasts/{id}
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
title?string
Lengthlength <= 200
sendingProfileId?string
Length1 <= length
audienceIds?array<string>

Response Body

curl -X PATCH "https://app.stethq.com/api/broadcasts/string" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "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"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}