Skip to main content
POST
Purchase a new phone number

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.

Body

application/json
phone_number
string
area_code
string
Pattern: ^\d{3}$
name
string
Maximum string length: 120

Response

Success

data
object
required