API Reference
Conversations API
Manage customer conversations and retrieve conversation history.
Endpoints
GET
/v1/conversationsList conversations with pagination and filters
GET
/v1/conversations/:idGet conversation details with messages
PATCH
/v1/conversations/:idUpdate conversation status or metadata
POST
/v1/conversations/:id/resolveMark conversation as resolved
List Conversations
GET /v1/conversations?status=active&agent_id=agent_123&limit=20{
"data": [
{
"id": "conv_xyz789",
"agent_id": "agent_123",
"customer": {
"id": "cust_456",
"name": "Rahul Kumar",
"email": "rahul@example.com",
"phone": "+919876543210"
},
"channel": "whatsapp",
"status": "active",
"sentiment": "neutral",
"messages_count": 8,
"created_at": "2026-01-12T09:15:00Z",
"last_message_at": "2026-01-12T10:30:00Z"
}
],
"pagination": {
"total": 156,
"limit": 20,
"offset": 0,
"has_more": true
}
}Query Parameters
status- Filter by status: active, resolved, escalatedagent_id- Filter by agentchannel- Filter by channel: whatsapp, widget, slackcustomer_id- Filter by customersince- ISO timestamp for start dateuntil- ISO timestamp for end datelimit- Results per page (max 100)offset- Pagination offset
Conversation Object
idstring - Unique identifieragent_idstring - Assigned agentcustomerobject - Customer detailschannelstring - Communication channelstatusstring - active, resolved, escalatedsentimentstring - positive, neutral, negativetagsarray - Applied tagsmetadataobject - Custom data