POST
/
inbound
/
setup

Authorizations

Authorization
string
headerrequired

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
url
string

Message displaying the voice URL

phone_number
string

Phone number in (in E.164 format)

id
string

The ID of the phone number