stet
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
Range0 <= value
contentJson?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"
}