Create Number
Provision a new phone number from the account’s configured SMS provider (or an iMessage line with type=imessage). Optional externalId tags the number with your own identifier; see PATCH /v1/numbers/{id}.
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
externalId
type
Allowed values:
imessageType
Allowed values:
Response
Successful Response
id
phoneNumber
country
status
createdAt
type
agentId
outboundSms
Allowed values:
inboundCallsEnabled
readReceiptsEnabled
whatsappEnabled
dailyNewContacts
externalId
purchasedAt
Errors
422
Unprocessable Entity Error

