Skip to main content
GET
/
conversations
/
{id}
/
messages
List conversation messages
curl --request GET \
  --url https://api.example.com/conversations/{id}/messages \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "68505cb92a11ea971d9df894",
      "providerId": "wamid.HBgLMTIzNDU2Nzg5FQIAERgSMzQ1Q0Y5QkE=",
      "contact": "68505cb92a11ea971d9df894",
      "content": "Hello! How can I help?",
      "role": "assistant",
      "status": "unsent",
      "error": "Rate limit exceeded"
    }
  ],
  "meta": {
    "pagination": {
      "limit": 25,
      "nextCursor": "68505cb92a11ea971d9df894",
      "hasMore": true
    }
  }
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <api_key>.

Path Parameters

id
string
required

Conversation/contact ID.

Minimum string length: 1
Example:

"68505cb92a11ea971d9df894"

Query Parameters

limit
integer

Max number of messages to return (1–100).

Required range: 1 <= x <= 100
Example:

20

cursor
string

Pagination cursor from previous page.

Example:

"68505cb92a11ea971d9df894"

Response

Conversation messages

data
object[]
required
meta
object
required