cURL
curl --request GET \ --url https://api.synax.app.br/functions/v1/api-proxy/conversations \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "open", "assigned_to": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "last_message_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } ] }
Retorna conversas de atendimento.
API Key gerada em Configurações > API. Formato: sk_live_...
Filtro por status: open, pending, resolved, closed
Lista de conversas
Show child attributes