POST
/
inbound
/
setup

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
agent_id
string
required

Agent id which will initiate the inbound call. Please make sure that the agent's Telephony provider is set as Twilio

phone_number_id
string

Telephone number id from Phone number list API

Response

200 - application/json
id
string

The ID of the phone number

phone_number
string

Phone number in (in E.164 format)

url
string

Message displaying the voice URL