Conversations

Get messages and calls by conversation

GET
/api/conversation/{conversationId}/messages

Return the chronological message/call timeline for a conversation, along with counts and the resolution block (CSAT, resolver) when the conversation has been resolved.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

conversationId*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/conversation/string/messages"
{  "messages": [    {      "_id": "67e0a0b0c0d0e0f0a0b0c0d0",      "body": "Hi! How can we help?",      "senderType": "AI",      "direction": "outbound",      "createdAt": "2026-05-18T13:30:00.000Z"    }  ],  "messageCount": 17,  "callCount": 1,  "resolution": {    "isResolved": true,    "resolvedAt": "2026-05-18T14:10:00.000Z",    "resolvedBy": {      "userId": "65b1f0a2c3d4e5f6a7b8c9d0",      "fullName": "Alice Rivera"    },    "csatRating": 5,    "csatFeedback": "Great help!",    "csatSubmittedAt": "2026-05-18T14:12:00.000Z"  }}