Get compliance status

View as Markdown

Returns the current compliance status for a given country, number type, and user type. This is the single endpoint the frontend uses to determine which step to render (form, submitted, accepted, rejected, expired, or suspended).

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

Compliance status retrieved successfully
statusboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error