POST
Request a phone number

Authorizations

Authorization
string
header
required

An API key from Dashboard → Developers → API keys.

Body

application/json
country_code
string
required

ISO Alpha-2 Country Code (e.g., US)

area_code
string | null

Preferred Area Code

number_type
string
default:local

local or toll-free

direction
string
default:inbound

inbound or outbound

business_reason
string | null

Reason for requesting number

Response

Successful Response

success
boolean
default:true
message
string
default:success
data
PhoneNumberRequestResponse · object | null

Phone number request response schema with UUID-based identification.

Inherits from UUIDResponseBase which maps uuid → id and excludes integer PK. Integer FK fields (organization_id, requested_by, approved_by, rejected_by) are resolved to UUIDs from loaded relationships.