Provision Phone Number
phone_number_provisionProvision a new phone number from the carrier pool and assign it to an agent. Note: provisioning a number costs money on the underlying carrier; do not call speculatively. Use countryCode / areaCode / capabilities to constrain selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent ID to assign the provisioned phone number to. | |
| areaCode | No | Preferred area code for the phone number. | |
| countryCode | No | ISO 3166-1 alpha-2 country code for number selection (default US). | |
| capabilities | No | Optional capability list (sms, mms, voice) the number must support. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||