Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Headers

Idempotency-Key
string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Maximum string length: 255

Body

application/json
inbound_objective
string | null
status
enum<string>
Available options:
active,
inactive

Response

Phone number provisioned

id
string
required
object
string
required
e164
string
required
status
enum<string>
required
Available options:
active,
inactive
inbound_objective
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required