Get compliance requirements

View as Markdown

Discover what documents are required for a given country, number type, and user type. Results are cached for 1 hour. Returns an empty documentTypes array if no compliance is needed for the given combination.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Query parameters

countryIsostringRequired=2 characters

ISO 3166-1 alpha-2 country code

numberTypeenumRequired
The type of phone number
Allowed values:
userTypeenumRequired
The type of end user
Allowed values:

Response

Requirements retrieved successfully
statusboolean
dataobject

Compliance requirements for a country/numberType/userType combination

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error