API reference
Reusable content
API reference descriptions are provided in English to preserve the exact published contract.
List reusable content resources
GET /v1/accounts/{AC}/contents
getV1AccountsByAcContentsPaginated200
Required scope: `templates:read`.
Parameters
Parameters| Name | Type | Required | Description |
|---|
limit | query · integer (1–100) | | |
cursor | query · string (max 2048 chars) | | |
AC | path · string (AC… SID) | yes | Account SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
Create reusable content
POST /v1/accounts/{AC}/contents
postV1AccountsByAcContentsIdempotency-Key required201
Required scope: `templates:write`.
Parameters
Parameters| Name | Type | Required | Description |
|---|
AC | path · string (AC… SID) | yes | Account SID |
Request body (3 fields)
Request body| Name | Type | Required | Description |
|---|
bindings | object[] | yes | |
defaultLanguage | string (max 16 chars) | yes | |
name | string (max 256 chars) | yes | |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
List per-language content approvals
GET /v1/accounts/{AC}/contents/{HX}/approvals
getV1AccountsByAcContentsByHxApprovals200
Required scope: `templates:read`.
Parameters
Parameters| Name | Type | Required | Description |
|---|
AC | path · string (AC… SID) | yes | Account SID |
HX | path · string (HX… SID) | yes | Content SID |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.
Render a content preview
POST /v1/accounts/{AC}/contents/{HX}/render
postV1AccountsByAcContentsByHxRenderIdempotency-Key required200
Required scope: `templates:write`.
Parameters
Parameters| Name | Type | Required | Description |
|---|
AC | path · string (AC… SID) | yes | Account SID |
HX | path · string (HX… SID) | yes | Content SID |
Request body (2 fields)
Request body| Name | Type | Required | Description |
|---|
language | string (max 16 chars) | | |
variables | object | yes | |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, 503 — see errors.