API Reference V1
Workspaces
Calls
Batch Calls
Telephony
Conversations
Folder Management
Call Flows
Message Flows
Call Agents
Disconnect a Web Call
End an ongoing web-based call session.
POST
/
v1
/
api
/
calls
/
web
/
disconnect
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"status": "success",
"message": "Session ended successfully"
}
End an active web-based call session. This API notifies the server that the user is done.
Headers
API key used for authenticating requests to the API.
Workspace identifier for the API.
Request Body
The room name for the ongoing LiveKit session.
Copy
Ask AI
{
"status": "success",
"message": "Session ended successfully"
}
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"status": "success",
"message": "Session ended successfully"
}
Assistant
Responses are generated using AI and may contain mistakes.