curl --request GET \
--url https://api.liderhub.com.br/v1/chat/{id} \
--header 'x-company-key: <api-key>'{
"contactId": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
"contactNumber": "5511999999999",
"integration": "WHATSAPP-NON-OFFICIAL",
"contactName": "João Silva",
"department": {},
"status": {},
"source": {},
"connection": {},
"aiAgent": {},
"humanAgent": {},
"ticketStatus": "open",
"createdAt": {},
"lastInteraction": {},
"isWhatsAppWindowClosed": {},
"tags": {}
}Retorna os dados de um chat específico do workspace.
curl --request GET \
--url https://api.liderhub.com.br/v1/chat/{id} \
--header 'x-company-key: <api-key>'{
"contactId": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
"contactNumber": "5511999999999",
"integration": "WHATSAPP-NON-OFFICIAL",
"contactName": "João Silva",
"department": {},
"status": {},
"source": {},
"connection": {},
"aiAgent": {},
"humanAgent": {},
"ticketStatus": "open",
"createdAt": {},
"lastInteraction": {},
"isWhatsAppWindowClosed": {},
"tags": {}
}Chave de autenticação do workspace (gerada na plataforma Liderhub)
UUID do chat
Chat retornado com sucesso
Contact unique identifier
"aaaaaaaa-bbbb-cccc-dddd-111111111111"
Contact phone number
"5511999999999"
Normalized integration type
WHATSAPP-NON-OFFICIAL, WHATSAPP-BUSINESS "WHATSAPP-NON-OFFICIAL"
Contact name
"João Silva"
Department ID
Status label ID
Source label ID
Connection ID
AI agent ID
Human agent (company user) ID
Ticket status
"open"
Chat creation date (ISO string)
Last interaction date (ISO string). Returned only for official integrations.
True when WhatsApp conversation window is closed. Returned only for official integrations.
Tags array
Esta página foi útil?