Create phone number
Create a new phone number, associate it with an organization, and attach it to a bot.
Body
Payload required to purchase and create a new phone number. A botId, language, and voiceId are required. The voiceId must support the requested language.
The organization ID that will own this phone number
The bot ID to attach the phone number to
Friendly name for the phone number. Use letters, numbers, spaces, and basic punctuation. Names are capped at 100 characters.
100^[A-Za-z0-9 .,_'()&#+/:;-]+$The language of the phone number. ENGLISH_SPANISH supports bilingual English/Spanish calls.
ENGLISH, ENGLISH_SPANISH, SPANISH, FRENCH The voice of the phone number. Each voice supports a single language and must match the phone number's language: WARM_ENGLISH_SPANISH requires ENGLISH_SPANISH, WARM_SPANISH requires SPANISH, WARM_FRENCH requires FRENCH, and all other voices require ENGLISH.
FRIENDLY_BRIGHT, CALM_REASSURING, POLISHED_PROFESSIONAL, KIND_CURIOUS, CONFIDENT_UPBEAT, WARM_ENGLISH_SPANISH, WARM_SPANISH, WARM_FRENCH Optional 3-digit US area code to use when purchasing the phone number. Send an empty string or omit the field to use the default area code.
^(?:\d{3})?$Verified caller ID for outbound calls. Must be pre-registered and verified for the organization.
If a recipient calls back an outbound number, the call will be forwarded to this phone number. Note: This field will be ignored for inbound numbers and only applied to outbound numbers.