Pular para o conteúdo principal
POST
Create a WhatsApp Cloud inbox from credentials

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

Corpo

application/json

Credentials of a WhatsApp Cloud number plus the name to give the inbox.

waba_id
string
obrigatório
Exemplo:

"104938562847362"

phone_number_id
string
obrigatório
Exemplo:

"118273645098234"

access_token
string
obrigatório
Exemplo:

"EAAG7ZChZBx0YBO..."

inbox_name
string

Name of the inbox to create. Defaults to the name of the phone number.

Exemplo:

"WhatsApp Support"

Resposta

Inbox created

id
integer
name
string
number_access
boolean
template_access
boolean
webhook_setup
boolean
webhook_error
string | null