curl -X DELETE https://api.60db.ai/agents/web-calls/CALL_ID \
-H "Authorization: Bearer your-api-key"
Agents
Hang Up Browser Call
End a browser call started with Start Browser Call.
DELETE
/
agents
/
web-calls
/
{callId}
curl -X DELETE https://api.60db.ai/agents/web-calls/CALL_ID \
-H "Authorization: Bearer your-api-key"
End a browser call. It is safe to call more than once: a call that already ended returns normally. The final state, duration and cost arrive with the
The call is trimmed above; see Get call for every field.
call.completed event, or through Get call.
Request
Headers
string
required
Bearer token with your API key (scope
agents)Path
string
required
The call
id (UUID) returned by Start browser call, not a phone callResponse
200 OK{
"success": true,
"data": {
"call": { "id": "6b1f0c52-4d7e-4b8a-9d3e-2a1c8e7f0a11", "direction": "web", "status": "in_progress" },
"status": "hanging_up"
}
}
Errors
| Status | Code | Meaning |
|---|---|---|
| 403 | POLICY_DENY | No active plan, or the API key lacks the agents scope |
| 404 | CALL_NOT_FOUND | No browser call with this ID in your workspace |
| 502 | AGENTS_UPSTREAM_UNAVAILABLE | The call runtime did not answer. Retry |
Example
curl -X DELETE https://api.60db.ai/agents/web-calls/CALL_ID \
-H "Authorization: Bearer your-api-key"