GetWABPhoneNumbers

View as Markdown

Gets the account’s WhatsApp Business phone numbers.

Allowed roles: Owner, Admin, Developer, Supervisor, Accountant, Support, Payer.

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](/api-reference/management-api/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_numberstringOptional
WhatsApp Business phone number
application_idintegerOptional
Application ID that is bound to the WhatsApp Business phone number
application_namestringOptional

Bound application name that can be used instead of application_id

country_codestringOptional

Country code filter (2 symbols) for the WhatsApp Business phone number

countintegerOptionalDefaults to 100
Maximum returning records count
offsetintegerOptionalDefaults to 0
Number of records to be skipped in the result

Response

Successful response
resultlist of objects
WhatsApp Business phone numbers info
total_countinteger
Number of total records found
countinteger
Number of returned records