Redact a conversation part
Redacts a conversation part (message) from a conversation. Redaction permanently removes the message content while preserving the conversation structure.
Only human message types can be redacted:
user_msg- Messages from customers/leadsadmin_msg- Messages from adminsemail_msg- Email messagesbot_msg- Bot messages
System-generated conversation parts (assignments, status changes, etc.) cannot be redacted.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | The type of item to redact. Currently only "conversation_part" is supported. |
conversationId | string | Yes | The conversation short ID containing the part to redact |
conversationPartId | string | Yes | The conversation part short ID to redact |
actingAdminId | string | No | Admin ID performing the action (for attribution) |
Response
Returns the updated conversation object.
Example Request
{
"type": "conversation_part",
"conversationId": "12345",
"conversationPartId": "67890",
"actingAdminId": "507f1f77bcf86cd799439011"
}Example Response
{
"object": "conversation",
"id": "12345",
"conversationParts": [
{
"object": "conversation_part",
"id": "67890",
"partType": "user_msg",
"bodyHtml": "",
"bodyMarkdown": "",
"redacted": true,
...
}
],
...
}Error Cases
- 400 Bad Request - Only human messages can be redacted
- 404 Not Found - Conversation or conversation part not found
Version Availability
This endpoint is only available in API version 2026-01-01.nova and newer.
Body
The admin ID performing this action. If not provided, changes are attributed to the system bot user.
507f1f77bcf86cd799439011The conversation short ID that contains the part to redact
1 - 16^[a-zA-Z0-9]+$12345The conversation part short ID to redact
1 - 16^[a-zA-Z0-9]+$67890Response
Success
State of AI agent handling for this conversation
active, handed_off_to_human, resolvedactiveISO timestamp when bot state last changed
2025-01-15T10:30:00.000ZID of the brand associated with this conversation
507f1f77bcf86cd799439011Array of conversation parts (messages). Only included when fetching a single conversation by ID.
Custom conversation attribute values expanded with definition metadata. Returned only when include=customAttributeDefinitions is provided.
Custom conversation attributes keyed by custom attribute ID. Only org-defined, non-archived conversation attributes are returned; internal workflow metadata is omitted.
Whether an admin has manually overridden the language for this conversation. When true, automatic language detection is disabled.
falseObject type identifier
conversationconversationISO timestamp when priority was set
2025-01-15T10:30:00.000ZRead receipts indicating how far each participant has read in the conversation. Each receipt maps a user to their last-read conversation part. The tracked position reflects the system read state and may reference parts the user cannot directly view (e.g., a contact's read position may point to an internal admin note). Use these receipts to render read indicators and typing awareness, not to infer content access.
ISO timestamp until which conversation is snoozed
2025-01-16T09:00:00.000ZCurrent state of the conversation
open, closed, snoozedopenISO timestamp when conversation was last updated
2025-01-15T12:30:00.000ZMore in Conversations
GETList conversationsPOSTCreate a conversationGETGet conversation by IDPATCHUpdate a conversationStill need help? Ask the team