Trillet AI logo

End Active Call

End an active call by its room name.

POSThttps://api.trillet.ai/v2/api/active-calls/{roomName}/end-call

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

roomNamestringrequired

The LiveKit room name of the active call to end.

Response Fields

successboolean

Whether the call was ended successfully.

messagestring

Confirmation message.

roomNamestring

The room name of the ended call.

endTimestring

ISO timestamp when the call was ended.

{
  "success": true,
  "message": "Call ended successfully",
  "roomName": "call-abc123",
  "endTime": "2024-06-01T10:05:00.000Z"
}