Ana içeriğe geç

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​

The blocked conversation.