POST
/
v1
/
api
/
calls
/
web
/
disconnect
curl --request POST \
  --url https://api.trillet.ai/v1/api/calls/web/disconnect \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "roomName": "<string>"
}'
{
  "status": "success",
  "message": "Session ended successfully"
}

End an active web-based call session. This API notifies the server that the user is done.

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.

Request Body

roomName
string
required

The room name for the ongoing LiveKit session.

{
  "status": "success",
  "message": "Session ended successfully"
}