stet
API reference

Reorder blocks

Requires `write` (`broadcast:compose`). Unlike the other block writes, this route has no draft-only status guard.

POST/api/broadcasts/{id}/blocks/reorder
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
blockIdsarray<string>
Items1 <= items

Response Body

curl -X POST "https://app.stethq.com/api/broadcasts/string/blocks/reorder" \  -H "Content-Type: application/json" \  -d '{    "blockIds": [      "string"    ]  }'
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"
}