Skip to navigation

GetPhoneNumberCategories

View as Markdown

Gets the phone number categories.

Allowed roles: Owner, Admin, Accountant, Payer.

Example request: Get the all phone number categories.

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_codelist of stringsOptional

Country code list separated by semicolons (;)

sandboxstringOptional

Flag allows you to display phone number categories only of the sandbox, real or all .The following values are possible: 'all', 'true', 'false'

localestringOptional

The 2-letter locale code. Supported values are EN, RU

Response

Successful response
resultlist of objectsOptional