Chat Widget
End Conversation
End a conversation at the visitor's request (Quick Exit).
Marks the conversation completed and triggers the post-processing pipeline. Idempotent — ending an already-completed conversation returns ended=false.
Auth: X-Session-Token header, or a JSON body {"session_token": ...} as a fallback for navigator.sendBeacon, which cannot set headers and must send text/plain to avoid a CORS preflight — so the body is parsed manually rather than via a Pydantic model.
post/chat/{conversation_id}/end
Request
- Base URLhttps://api.openintake.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.openintake.ai/chat/{conversation_id}/end
- Authnone declared
Path parameters
conversation_idstring uuid required
Response
Successful Response
Changes
No recorded changes to this operation across all 85 revisions of this API.