Configuration
The Memory Webhook is configured through your project’s Content Creation configuration, either via the API or directly from the Customer Dashboard. Three fields control the behavior:Delivery Modes
FULL_STATE (default)
Every time the AI updates its memory, we send the complete current memory state for that User/Persona pair. Just replace whatever you have stored locally with what we send. Event:memory.updated
CHANGES_ONLY
We send only what changed: which memories were added and which were deleted. More efficient for high-volume integrations applying incremental updates. Event:memory.changed
When Are Webhooks Triggered?
Webhooks are triggered whenever the AI processes a conversation and its memory system detects changes, typically when a User sends a message and the AI replies.Webhooks are only sent when memory actually changes. If a conversation is processed but no new facts are learned and no existing memories are updated or removed, no webhook is sent.
HTTP Request Details
Retry Behavior
If your endpoint returns a non-2xx status code, or if the connection fails or times out, we automatically retry:- Retry interval: 15 seconds
- Maximum retries: 40 attempts
Quick Start
- Set your webhook URL in your project configuration.
- Choose a mode:
FULL_STATEfor simplicity,CHANGES_ONLYfor incremental updates. - Add custom headers (optional): include authentication headers to verify incoming requests.
- Handle the payload: see the event reference for
memory.updatedormemory.changed. - Return 2xx: respond with a success status code to acknowledge receipt.