Block a conversation
POST/api/conversations/:conversationId/block
Locks a single conversation (status → blocked): the web-chat visitor
can no longer post and the AI never replies. Optionally sends a closing
notice to the contact FIRST — defaulting to the tenant block_message
inbox setting when message is omitted (an explicit empty string sends
nothing). Authorized via the conversation block ability (supervisor /
admin, or the assigned agent). Delivered live over conversation.updated.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The blocked conversation.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).
The request failed validation.