cURL
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 } } }
Use Authorization: Bearer <api_key>.
Authorization: Bearer <api_key>
Conversation/contact ID.
1
"68505cb92a11ea971d9df894"
Max number of messages to return (1–100).
1 <= x <= 100
20
Pagination cursor from previous page.
Conversation messages
Show child attributes