Skip to main content
GET
Pre-purchase regulatory preview for one country

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Headers

X-Test-Mode
enum<string>

Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.

Available options:
true,
false

Query Parameters

country
string

ISO 3166-1 alpha-2 country code (required — a missing/invalid value returns a 422 envelope from the handler).

phone_number_type
string

Line type the requirements vary by — one of local | mobile | toll_free (default local).

provider
string

Optional carrier to narrow the schema to — one of telnyx | didww. When omitted, the requirement sets from every provider that could serve the country are unioned.

Response

Single-country pre-purchase regulatory preview

Single-country pre-purchase regulatory preview

data
object
meta
object