cURL
curl --request GET \ --url https://app.leonar.app/api/v1/conversations/{id}/messages \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content": "<string>", "direction": "inbound", "channel": "<string>", "sent_at": "2023-11-07T05:31:56Z", "read_at": "2023-11-07T05:31:56Z" } ], "meta": { "total": 142, "limit": 50, "offset": 0, "has_more": true } }
API key starting with leo_
leo_
Items per page
1 <= x <= 100
Items to skip
x >= 0
List of messages
Show child attributes
{ "total": 142, "limit": 50, "offset": 0, "has_more": true}