Register a phone number
create_phone_numberRegister your own phone number on a SIP trunk to enable inbound calls. Assign an inbound agent to answer them; without one, calls are rejected.
Instructions
Register a number you already own with your carrier, on one of your SIP trunks. Wixzel does not sell numbers. Set inbound_agent_id to have an agent answer calls to it; without it inbound calls are rejected. For inbound to ring at all, the carrier must also be pointed at the trunk's origination_uri (see get_sip_trunk).
Requires scope phone_numbers:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A label, e.g. "Main line". | |
| phone_number | Yes | Phone number in E.164 form, e.g. "+14155551234". | |
| sip_trunk_id | Yes | The trunk this number is routed through. See list_sip_trunks. | |
| inbound_agent_id | No | Agent that answers inbound calls to this number. |