Webhooks
Handle Twilio voice call webhook (legacy)
Legacy catch-all Twilio voice webhook retained for backwards compatibility. Acknowledges with 200 and forwards the payload to the calls service for status processing - new integrations should target the specific /api/webhook/calls/twilio/{inbound,outbound,status,recording,amd} routes instead.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
text/plain
application/json
curl -X POST "https://example.com/api/webhook/calls/twilio" \ -H "Content-Type: application/json" \ -d '{ "CallSid": "CA5f7b1c2e8a1d4e0012c3b4a5", "CallStatus": "completed", "From": "+14165550100", "To": "+12362320246", "Direction": "inbound" }'"OK"