cURL
curl --request GET \ --url https://api.timelyai.com.br/v1/conversations/{id}/messages \ --header 'x-api-key: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content": "<string>", "sender_type": "customer", "message_type": "text", "media_url": "<string>", "media_type": "<string>", "is_edited": true, "created_at": "2023-11-07T05:31:56Z" } ], "pagination": { "page": 123, "limit": 123, "total": 123, "total_pages": 123 } }
Retorna mensagens de uma conversa.
Chave de API obtida no dashboard
ID da conversa
Número da página
x >= 1
Itens por página
1 <= x <= 100
Direção da ordenação
asc
desc
Lista de mensagens
Show child attributes