End a chat session
Chat
End Chat Session
deprecated
Legacy — will be deprecated soon. Use the Chat v1 close command (POST /v1/chat/session/:id/support with { "command": "close" }) for new integrations.
Closes an active chat session and returns an AI-generated summary of the conversation.
POST
End a chat session
Authorizations
16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.
Path Parameters
The session ID to close.
Example:
"4718a326-417b-4dda-90d0-21fd65a11cb8"
Body
application/json
Unique identifier of the agent handling the session.
Example:
"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"
