Skip to main content
POST
/
v1
/
sessions
/
{id}
/
end
curl -X POST https://api.kallglot.com/v1/sessions/sess_01HXYZ123456789/end \
  -H "Authorization: Bearer sk_live_your_api_key"
{
  "id": "sess_01HXYZ123456789",
  "object": "session",
  "status": "ended",
  "duration_seconds": 245.3,
  "ended_at": "2026-03-26T11:04:20Z"
}

Documentation Index

Fetch the complete documentation index at: https://developer.kallglot.com/llms.txt

Use this file to discover all available pages before exploring further.

End a session to disconnect calls, stop recording, and finalize the transcript. Billing stops when the session ends.

Path Parameters

id
string
required
Session ID (e.g., sess_01HXYZ123456789).

Response

id
string
Session identifier.
object
string
Always session.
status
string
Will be ended.
duration_seconds
number
Total session duration.
ended_at
string
End timestamp (ISO 8601).
curl -X POST https://api.kallglot.com/v1/sessions/sess_01HXYZ123456789/end \
  -H "Authorization: Bearer sk_live_your_api_key"
{
  "id": "sess_01HXYZ123456789",
  "object": "session",
  "status": "ended",
  "duration_seconds": 245.3,
  "ended_at": "2026-03-26T11:04:20Z"
}
Idempotent - calling on an already-ended session returns the existing summary.
Sessions inactive for 30+ minutes are automatically ended.