Skip to main content
POST
https://api.trillet.ai
/
v2
/
api
/
active-calls
/
{roomName}
/
end-call
End Active Call
curl --request POST \
  --url https://api.trillet.ai/v2/api/active-calls/{roomName}/end-call \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "success": true,
  "message": "Call ended successfully",
  "roomName": "call-abc123",
  "endTime": "2024-06-01T10:05:00.000Z"
}

Headers

x-api-key
string
required
API key used for authenticating requests to the API.
x-workspace-id
string
required
Workspace identifier for the API.

Path Parameters

roomName
string
required
The LiveKit room name of the active call to end.

Response Fields

success
boolean
Whether the call was ended successfully.
message
string
Confirmation message.
roomName
string
The room name of the ended call.
endTime
string
ISO timestamp when the call was ended.
{
  "success": true,
  "message": "Call ended successfully",
  "roomName": "call-abc123",
  "endTime": "2024-06-01T10:05:00.000Z"
}