AttachPhoneNumber
Attach the phone number to the account. Note that phone numbers of some countries may require additional verification steps.
Please note that when you purchase a phone number, we reserve the subscription fee and taxes for the upcoming month. Read more in the Billing page.
Allowed roles: Owner, Admin, Accountant.
Example request: Attach a US phone number to the account 1.
Authentication
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
Quantity of phone numbers you want to attach. Required unless phone_number is provided.
The phone number. See the [GetNewPhoneNumbers] method. Required unless phone_count is provided.
The phone category name. See the [GetPhoneNumberCategories] method
The country state. See the [GetPhoneNumberCategories] and [GetPhoneNumberCountryStates] methods
The phone region ID. See the [GetPhoneNumberRegions] method