Skip to navigation

GetPhoneNumberCountryStates

View as Markdown

Gets the phone number country states.

Allowed roles: Owner, Admin, Accountant, Payer.

Example request: Get the USA states.

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

country_codestringRequired
The country code
phone_category_namestringRequired
The phone category name. See the GetPhoneNumberCategories function
country_statestringOptional

The country state code (example: AL, CA... )

Response

Successful response
resultlist of objectsOptional