Business Agent

Allowlist a consumer

One E.164 number per call. Not idempotent.

post/v1/accounts/{accountId}/business-agent/allowlist

Path parameters

accountIdstring required

WhatsApp social account id (the number must be managed through the Cloud API).

Request body

consumer_phone_numberstring required

Example request

{
  "consumer_phone_number": "+34600000000"
}

Response

Entry added

idstring required
consumer_phone_numberstring

E.164 phone number.

Changes