Skip to navigation

SetWABPhoneNumberInfo

View as Markdown

Sets details for the specified WhatsApp Business phone number.

Allowed roles: Owner, Admin, Accountant.

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 to change details for
voice_passwordstringOptional
New WhatsApp Business SIP password
descriptionstringOptional
New 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