Help center / Connecting your AI
My webhook does not receive events
Start in Connections, tab Webhooks. Click Send test on the endpoint, then read the row it adds to Latest deliveries: the Status column says Delivered, Failed or Pending, and the Answer column says what your server replied, for example “Answered 500.” or “No answer within 5 s.”
Steps
- Check the endpoint URL. It must start with
https://and be reachable from the internet. Local and private network addresses are refused when you add the endpoint, as are URLs that contain a user name or password. - Check that your server answers with a 2xx status within 5 seconds. A redirect is not followed: it counts as a failure.
- Check the events of the endpoint, listed next to its URL. An endpoint only receives the events ticked when it was added (Send test reaches the endpoint whichever events are ticked). An archived endpoint receives nothing until you restore it.
- Once your server is fixed, click Resend on the failed delivery. Resend and Send test make one attempt right away.
CrystalBrain-Signature: t=1794480000,v1=9f2c…
v1 = HMAC SHA-256, hex, of "t.body"
key = the endpoint's secret (whsec_…)Which actions send an event
memory.created: a save by the AI or the API, a merge made through the API or the MCP, a memory added in the dashboard. Imports do not send it, nor do merges made by the memory checks.memory.updated: the type, title, details, fields, tags or “Stop using after” date of a memory changed, the memory was moved to another brain, or a previous version was restored.memory.archived: an archive by the AI, the API or the dashboard, a resolved contradiction, the originals of a merge made through the API or the MCP. Duplicates and merges archived by the memory checks do not send it, nor does a merge undone in the Review queue, nor does the automatic archive of stale memories.contradiction.detected: a memory check found contradictions.user.deleted: a permanent deletion was carried out, 7 days after the request or shortly after.quota.reached: the first new user above the plan’s quota in a month, sent at most once a month.servedsays whether that user was still served (paid plan, below 150% of the quota) or got no memory.quota.blocked: the first new user who gets no memory in a month, because the limit of tracked users is reached (the quota on Free, 150% of it on a paid plan). Sent at most once a month.credit.used_up: the monthly AI credit is used up. Sent at most once a month.write.failed: a save failed with a server error (reason: "server_error", with the errorcode), or stored nothing because the limit of tracked users is reached (reason: "quota"). Sent at most once a day for each reason.
These last three alerts also go by e-mail to the workspace owner, except the write.failed with reason quota (the quota.blocked e-mail covers it). An endpoint receives only the events it is subscribed to: add the new ones to an existing endpoint to get them.
Memory events carry IDs and titles. They do not carry the content of memories: read it with GET /api/v1/memory. contradiction.detected also carries the reason of each contradiction, user.deleted the counts of what was deleted and quota.reached the plan, its quota and its ceiling.
Signature check fails
Each request carries CrystalBrain-Signature: t=…,v1=…. Compute the HMAC SHA-256 of the timestamp, a dot and the raw body, with the endpoint’s signing secret as the key, and compare its hex value with v1. Use the body as received, before any JSON parsing: a body that was parsed and written again may differ by a space and give another signature.
The secret starts with whsec_ and is shown only once, when the endpoint is added. If you lost it, archive the endpoint and add it again to get a new one.
Deliveries are kept 30 days with their outcome, and the tab shows the latest 50. The payload format is in the API reference, and the tab is described in the Connections guide.