Skip to main content
POST
https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1
/
terminate-call
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/terminate-call \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"call_id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef"}'
{
  "success": true
}
End an in-progress call immediately. Use this when you need to programmatically hang up a call.

Request Body

call_id
string
required
The unique identifier of the call to terminate.

Response

success
boolean
Whether the call was terminated successfully.
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/terminate-call \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"call_id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef"}'
{
  "success": true
}