Calls

Hang up a call

Ends an active or ringing call for the authenticated device (works for both outbound and inbound legs).

POST
/calls/terminate

Ends an active or ringing call for the authenticated device (works for both outbound and inbound legs).

Authorization

bearerAuth
AuthorizationBearer <token>

Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/calls/terminate" \  -H "Content-Type: application/json" \  -d '{    "call_id": "73EE9BC6A87B1AA5AED857F4DBB73B0E"  }'
{  "success": true,  "call_id": "73EE9BC6A87B1AA5AED857F4DBB73B0E",  "status": "ended",  "timestamp": "2026-07-16T18:30:37Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}