Skip to main content
POST
Register a WhatsApp Cloud number

Autorizações

Authorization
string
header
obrigatório

Personal access token (izap_pat_…) sent as Authorization: Bearer ; dashboard session JWTs are also accepted.

Cabeçalhos

business-id
string | null
obrigatório

UUID of the business the request is scoped to. Required on this route; the deprecated /businesses/{business_id}/... form takes it from the path instead.

Corpo

application/json
code
string
obrigatório
phone_number_id
string | null
redirect_uri
string | null
waba_business_id
string | null
waba_id
string | null

Resposta

Successful Response

202 body of POST /{business_id}/whatsapp_cloud/register.

task_id
string<uuid>
obrigatório
status
enum<string>
padrão:pending

Lifecycle of an async registration job.

PENDING is created by POST /auth/register before the worker picks it up. PROCESSING means the dramatiq actor is running. Terminal states are COMPLETED (account ready) and FAILED (see error_code / error_detail).

Opções disponíveis:
pending,
processing,
completed,
failed