Skip to main content
POST
/
v1.0
/
numbers
/
provision
Provision Phone Numbers
curl --request POST \
  --url https://api.example.com/v1.0/numbers/provision \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "NumberType": "<string>",
  "MessageEnabled": true,
  "VoiceEnabled": true,
  "MessageType": "<string>",
  "MessageRouteId": "<string>",
  "VoiceRouteId": "<string>",
  "AreaCode": "<string>",
  "ZipCode": "<string>",
  "ICCID": "<string>",
  "ProductType": "<string>",
  "AssignedSubscriberId": "<string>"
}
'

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Obtain token from /v1.0/OAuth2/tokens endpoint.

Body

Provision_Numbers_Request object

NumberType
string
required
Minimum string length: 1
MessageEnabled
boolean
required
VoiceEnabled
boolean
required
MessageType
string | null
MessageRouteId
string | null
VoiceRouteId
string | null
AreaCode
string | null
ZipCode
string | null
ICCID
string | null
ProductType
string | null
AssignedSubscriberId
string | null

Response

200

Success