Skip to main content
DELETE /v1/calls/:callId Terminates an active call. Only calls in QUEUED, RINGING, or IN_PROGRESS state can be terminated. The call status is set to FAILED and ended_at is recorded.

Request

Headers

HeaderValue
AuthorizationBearer <token>

Path parameters

ParameterTypeDescription
callIdstringThe call ID to terminate

Response 204

No content. The call has been terminated.

Errors

CodeDescription
401Missing or invalid token
404Call not found, already ended (COMPLETED or FAILED), or does not belong to the user

Example

curl -X DELETE https://cawme.com/api/v1/calls/call_xyz789 \
  -H "Authorization: Bearer <token>"
Terminating a call sets its status to FAILED. There is no separate CANCELLED status.