Skip to main content
POST
/
api
/
v1
/
telephony
/
twilio
/
twiml
Twilio TwiML webhook proxy
curl --request POST \
  --url https://api.callaro.ai/api/v1/telephony/twilio/twiml \
  --header 'Content-Type: application/x-www-form-urlencoded'
const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({})
};

fetch('https://api.callaro.ai/api/v1/telephony/twilio/twiml', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.callaro.ai/api/v1/telephony/twilio/twiml"

payload = {}
headers = {"Content-Type": "application/x-www-form-urlencoded"}

response = requests.post(url, data=payload, headers=headers)

print(response.text)
{
  "error": "<string>",
  "error_code": "<string>",
  "request_id": "<string>",
  "details": {},
  "errors": [
    "<string>"
  ]
}

Body

application/x-www-form-urlencoded

The body is of type object.

Response

TwiML XML