Close (archive) the logged-in account's own chat (widget)
POST/api/widget/conversations/:conversationId/close
PUBLIC endpoint, AUTHENTICATED session only. Archives one of the account's OWN currently-active conversations (ownership + active status checked from the token; 404 otherwise). Archiving hides the chat from the member's list and frees a conversation-quota slot. Requires the tenant to allow closing (allow_close_conversation); 403 otherwise. Staff can still reopen it.
Request
Responses
- 200
- 403
- 404
The conversation was archived.
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).