Webhook map
notesaccessGranted(notes.accessGranted)edited(notes.edited)generated(notes.generated)
HTTP handler setup
app/api/webhook/route.ts
Events
Notes
Access Granted
notes.accessGranted
A note was shared with the endpoint, directly or through a folder (note.access_granted).
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Edited
notes.edited
A note’s summary was edited or regenerated (note.edited); data.changed_fields says what changed.
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Generated
notes.generated
A note’s first AI summary was generated (note.generated). Carries the note id; fetch the note with notes.get.
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example