Create a new phone number and associate it with an organization. Optionally attach it to a bot immediately.
Payload required to purchase and create a new phone number. Language and voiceId are required.
The organization ID that will own this phone number
The bot ID to attach the phone number to
Friendly name for the phone number
The language of the phone number
ENGLISH, SPANISH, FRENCH The voice of the phone number
FRIENDLY_BRIGHT, CALM_REASSURING, POLISHED_PROFESSIONAL, KIND_CURIOUS, CONFIDENT_UPBEAT Verified caller ID for outbound calls
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.