Inbound Agents
Set inbound agent
Add agent for inbound calls
POST
/
inbound
/
agent
Inbound Agent functionality using APIs currently works with Twilio and requires connecting your Twilio account.
You can connect your Twilio account from Providers.
Hear over to Twilio Connect Tutorial on how to connect your Twilio account.
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
agent_id
string
requiredAgent id
which will initiate the inbound call. Please make sure that the agent's Telephony provider is set as Twilio
phone_number
string
requiredTwilio phone number alongwith country code (in E.164 format)
Response
200 - application/json
message
string
Message displaying the voice URL
status
enum<string>
Available options:
updated