Skip to main content

Response Format

Successful responses

Successful responses return their payload under a data key. For example, GET /v1/messaging-channel-connections:

{
"data": {
"messaging_channel_connections": [
{
"id": 123,
"name": "Main WhatsApp",
"messaging_channel_id": "whatsapp",
"default": true,
"connected": true
}
]
}
}

The meta object

Some responses include a meta object alongside data carrying status and pagination information:

{
"data": { },
"meta": {
"message": "Optional human-readable message",
"message_type": "success",
"total_results": 42,
"next_cursor": "eyJpZCI6MTIzfQ",
"warning": "Optional non-fatal warning"
}
}
FieldDescription
messageHuman-readable message about the result.
message_typeOne of success, info, warning, error.
total_resultsTotal number of matching records (where applicable).
next_cursorPagination token for the next page. See Pagination.
warningA non-fatal warning, when present.

Not every endpoint returns a meta object; check the API Reference for each operation's response schema.

Errors

Error responses use a different shape (error + details). See Errors.