Skip to main content
POST
/
phone-numbers
Provision a phone number
curl --request POST \
  --url https://api.crevio.co/v1/phone-numbers \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inbound_objective": "<string>"
}
'
{
  "id": "<string>",
  "object": "<string>",
  "e164": "<string>",
  "inbound_objective": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

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