Close a conversation session
POST/v1/agent/sessions/:sessionId/close
Closes an active, awaiting-human, or transferred session owned by the application API key. Repeated calls are idempotent. An already expired session remains expired. Unknown and cross-application IDs both return SESSION_NOT_FOUND.
Request
Responses
- 200
- 400
- 401
- 404
Final session status
Invalid session UUID
Invalid API key
SESSION_NOT_FOUND