cURL
curl --request GET \ --url https://api.timelyai.com.br/v1/conversations \ --header 'x-api-key: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "channel": "<string>", "channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customer_name": "<string>", "status": "open", "ai_mode": "auto", "last_message_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } ], "pagination": { "page": 123, "limit": 123, "total": 123, "total_pages": 123 } }
Returns a paginated list of conversations.
API key obtained from the dashboard
Page number
x >= 1
Items per page
1 <= x <= 100
Sort direction
asc
desc
Search term
open
closed
pending
List of conversations
Show child attributes