API reference
Update one block
Requires `write` (`broadcast:compose`). Draft-only — `409` on any other status.
PATCH
/api/broadcasts/{id}/blocks/{blockId}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
blockIdstring
type?BlockType
Value in
"section" | "header" | "divider" | "image" | "context" | "actions" | "rich_text_list" | "fields"position?integer
Range
0 <= valuecontentJson?unknown
audienceIds?array<string>
Response Body
curl -X PATCH "https://app.stethq.com/api/broadcasts/string/blocks/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"
}Update a saved audience
Requires `write` (`audience:manage`). At least one field must be present.
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.