Pular para o conteúdo principal
GET
/
whatsapp
/
businesses
List WABAs
curl --request GET \
  --url https://api.hubmessage.io/whatsapp/businesses \
  --header 'Authorization: Bearer <token>'
[
  {
    "businessId": "428083093730937",
    "name": "Demo",
    "channelsCount": 1,
    "connectedCount": 1,
    "disconnectedCount": 0
  }
]

Conceituação

Retorna a lista de WABAs (WhatsApp Business Accounts) vinculadas ao seu token. O businessId retornado é necessário para todos os demais endpoints de templates.

Autorizações

Authorization
string
header
obrigatório

Secret Key generated in the Hub Message Security panel

Resposta

List of WABAs

businessId
string

WABA ID (WhatsApp Business Account)

name
string

WABA name

channelsCount
integer

Total linked channels

connectedCount
integer

Connected channels

disconnectedCount
integer

Disconnected channels