Connections

Listar conexões WhatsApp

Retorna todas as conexões WhatsApp do workspace, incluindo status de cada uma.

get/v1/connections

Request

  • Base URL
    https://api.liderhub.com.br
  • URL
    https://api.liderhub.com.br/v1/connections
  • Auth
    API key in header x-company-key

Response

Lista de conexões retornada com sucesso

Example response

{
  "connections": [
    {
      "id": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
      "number": "+5511999999999",
      "connectionStatus": "connected",
      "agent": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
      "department": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
      "status": "aaaaaaaa-bbbb-cccc-dddd-111111111111",
      "integration": "WHATSAPP-BUSINESS"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.