curl --request GET \
--url https://api.liderhub.com.br/v1/connections \
--header 'x-company-key: <api-key>'{
"connections": [
{
"id": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
"connectionStatus": "connected",
"integration": "WHATSAPP-BUSINESS",
"number": "+5511999999999",
"agent": {},
"department": {},
"status": {}
}
]
}Retorna todas as conexões WhatsApp do workspace, incluindo status de cada uma.
curl --request GET \
--url https://api.liderhub.com.br/v1/connections \
--header 'x-company-key: <api-key>'{
"connections": [
{
"id": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
"connectionStatus": "connected",
"integration": "WHATSAPP-BUSINESS",
"number": "+5511999999999",
"agent": {},
"department": {},
"status": {}
}
]
}Esta página foi útil?