Integration Guides
Inbound call
Let Millis AI handle your inbound calls in twilio
Basic
Learn how to setup your twilio phone number so such that the call gets handle by a voice agent from Millis AI specified by you.
Prerequisites
Obtain your public_key from your Millis AI Account.
Setup a voice agent and obatain the agent_id from your Millis AI Dashboard.
Method 1 : TwiML Bin
Create a TwiML Bin with the following configuration. Replace public_key and agent_id with your own.
- In your phone number setting, select Webhook, TwiML Bin, Function, Studio Flow, Proxy Service
- Select Twiml Bin and the name of your TwiML Bin for
A call comes in
section.
Method 2 : Use your own endpoint
- In your phone number setting, select Webhook, TwiML Bin, Function, Studio Flow, Proxy Service
- Select Webhook and your own backend endpoint for
A call comes in
- Handle the webhook as you like and return the following as your response.