Enterprise Feature - SMS is only available on Enterprise plans. Contact your Bland representative for access.
Your API key for authentication.
Query Parameters
The page number to retrieve. Defaults to 1.
The number of conversations per page. Defaults to 25.
Field to sort by. Allowed values: created_at, updated_at, user_number, agent_number, is_active, message_count, curr_pathway_id, curr_pathway_version, timed_out_at. Defaults to created_at.
Direction of sorting. Either asc or desc. Defaults to desc.
A JSON-encoded array of filter objects. Each object should contain:
field: one of created_at, updated_at, user_number, agent_number, is_active, message_count, variables, current_node_id, curr_pathway_id, curr_pathway_version, timed_out_at
operator: one of eq, contains, startsWith, endsWith, gt, gte, lt, lte
value: the filter value
Response
A list of conversations matching the query.
Unique ID of the conversation.
ISO timestamp when the conversation was created.
ISO timestamp when the conversation was last updated.
The user-facing phone number in the conversation.
The assistant’s phone number in the conversation.
Arbitrary variables associated with the conversation.
ID of the current node in the conversational pathway.
The UUID of the current pathway being used in this conversation.
Indicates whether the conversation is still active.
Number of messages in the conversation.
The content of the most recent message, if available.
The timestamp of the most recent message.
Tags from pathway nodes visited during the conversation.
The resolved delivery channel: "sms", "rcs", or "whatsapp".
AI-generated conversation summary, if available.
data[].citation_variables
Extracted citation variable values, if citation schemas were configured.
The first successful outcome result tag, if outcomes were configured.
null on success, or a list of errors on failure.
Total number of conversations matching the query.
Total number of pages available.
The current page of the response.
Number of items per page in the current response.
{
"data": [
{
"id": "convo_abc123",
"created_at": "2024-11-20T14:01:00.000Z",
"updated_at": "2024-11-21T09:12:00.000Z",
"user_number": "+15550001111",
"agent_number": "+15552223333",
"variables": { "campaign_id": "xyz789" },
"current_node_id": "node_intro",
"curr_pathway_id": "pathway_abc123",
"is_active": true,
"message_count": 5,
"last_message": "Hi there, how can I help you?",
"last_message_at": "2024-11-21T09:12:00.000Z",
"pathway_tags": [{"name": "Greeting", "color": "#4287f5"}],
"effective_channel": "sms",
"summary": null,
"citation_variables": null,
"disposition_tag": null
}
],
"errors": null,
"extra": {
"pagination": {
"totalItems": 42,
"totalPages": 5,
"currentPage": 1,
"pageSize": 10
}
}
}