Create phone number

Import Phone Number from provider configuration (Twilio or SIP trunk)

Headers

xi-api-keystringOptional

Request

Create Phone Request Information

twilioobjectRequired
OR
sip_trunkobjectRequired

SIP trunk phone number request

Includes termination URI and optional digest authentication credentials. If credentials are provided, both username and password must be included. If credentials are not provided, ACL authentication is assumed. (user needs to add our ips in their settings)

Response

Successful Response

phone_number_idstring

Phone entity ID

Errors