Create Number
Provision a new SMS-enabled phone number.
1. Check number limit (lifetime limit)
2. Search the account's configured SMS provider for available numbers
3. Purchase the first available one
4. Configure messaging and voice routing
5. Store the number in our database
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
X-Sub-Account-Id
Target a sub-account. Pass a sub-account ID to scope this request. Omit to use the master account.
Request
This endpoint expects an object.
country
areaCode
agentId
type
Allowed values:
imessageType
Allowed values:
Response
Successful Response
id
phoneNumber
country
status
createdAt
type
agentId
outboundSms
Allowed values:
inboundCallsEnabled
readReceiptsEnabled
whatsappEnabled
dailyNewContacts
purchasedAt
Errors
422
Unprocessable Entity Error

