data payload but link here for the wrapper format.
Success envelope
object | array
required
The resource the endpoint returns. Object for single-resource reads/writes (e.g.
GET /campaigns/{id}), array for list endpoints (e.g. GET /campaigns).Status codes
List responses and pagination
List endpoints (e.g.GET /campaigns) return their items in data plus a pagination object describing the slice you received.
number
Total number of resources matching the query, across all pages.
number
required
Number of items in the current response.
string | null
required
Cursor to fetch the next page.
null when there is no further page.-
Campaigns list with a
GET. Pass the cursor as theoffsetquery parameter: -
Assistants, phone numbers and tools list with a
POSTwhose body carriespageandsize. The cursor is the next page number: pass it aspage.
Conventions
- Identifiers are UUID v4 strings unless stated otherwise.
- Timestamps are ISO 8601 in UTC, e.g.
"2026-05-04T15:00:00.000Z". - Phone numbers are E.164 strings, e.g.
"+12125550001". - Money values are decimal strings to avoid float rounding. (Reserved — no current endpoint returns money.)
Backwards-compatibility policy
The API follows an additive compatibility policy: new fields may appear indata payloads without notice. Existing fields will not be removed or renamed without an advance deprecation announcement.
Branch on error.code for error handling, not on error.message — see Errors.