Update Conversation customData
Prospects
Update Conversation customData
Updates the per-conversation customData used in prompts as . Pass an empty string to clear it.
PATCH
Update Conversation customData
Overview
Update the per-conversationcustomData for an existing chat. customData is the prompt context exposed as {{customData}}, set when the conversation is created via the prospect import endpoints.
Use this when the context that personalizes a conversation changes after import (for example, the lead performed a new action), so the AI prompt always uses the latest context.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
chatId | string | Yes | ID of the chat/conversation to update |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
customData | string | Yes | New prompt context, max 3000 characters. Pass an empty string ("") to clear it |
Example
Response
Notes
- The chat must belong to a campaign owned by your team, otherwise the request returns
403. customDatais truncated to 3000 characters.- An empty string clears the stored context (
customDataSavedwill befalse). - The new value applies to subsequent AI message generations for the conversation.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the chat/conversation
Body
application/json
Per-conversation prompt context. Empty string clears it.
Maximum string length:
3000Example:
"John replied positively to the AI outbound post; reference that follow-up."
Last modified on June 25, 2026

