Skip to navigation

AddWABPhoneNumber

View as Markdown

Adds a new WhatsApp Business phone number.

Allowed roles: Owner, Admin, Accountant.

Example request: Adds a new WhatsApp Business phone number.

Authentication

AuthorizationBearer

Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the Authorization header as a Bearer value:

Authorization: Bearer $VOXIMPLANT_TOKEN

See Authorization for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.

Query parameters

wab_phone_numberstringRequired
WhatsApp Business phone number
voice_passwordstringRequired
WhatsApp Business SIP password
descriptionstringOptional
WhatsApp Business phone number description
application_idintegerOptional
Bound application ID
application_namestringOptional

Bound application name that can be used instead of application_id

rule_idintegerOptional
Bound rule ID
rule_namestringOptional

Bound rule name that can be used instead of rule_id

Response

Successful response
resultintegerOptional
Returns 1 if the request has been completed successfully
errorobjectOptional