Skip to main content
GET
/
api
/
conversation
/
{conversationId}
/
messages
Get messages and calls by conversation
curl --request GET \
  --url https://your-instance.example.com/api/conversation/{conversationId}/messages \
  --header 'Authorization: Bearer <token>'
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversationId
string
required

Response

Messages returned

messages
object[]
messageCount
integer
callCount
integer
resolution
object

Null when conversation is not resolved