You will need:
- A Layercode Agent with an assigned Twilio phone number (see Inbound calls with Twilio)
https://api.layercode.com/v1/agents/AGENT_ID/calls/initiate_outbound
endpoint. You can call this endpoint from your backend whenever you want to initiate a call. You must have already set up your Layercode Agent to work with Twilio. If you haven’t done that yet, see Inbound calls with Twilio.
Goto REST API docs for more details about calling initiate_outbound.