Skip to main content
Webhooks notify your systems when notes change in Granola, so you don’t have to poll the API. You register an HTTPS URL as a webhook endpoint; when a subscribed event occurs, Granola sends it an HTTP POST with a small JSON payload, and you fetch the latest data through the Granola API. Webhooks are available on Business and Enterprise plans.

Set up a webhook endpoint

You can create a webhook in Granola or through the API. Whichever method you use, you’ll need a Granola API key to fetch the notes referenced by webhook events.

Create a webhook in Granola

To create a webhook that can receive events for notes across Granola:
  1. Go to Settings → Connectors → Webhooks.
  2. Select Set up a webhook.
  3. Choose which notes and events to receive, then enter your endpoint URL.
  4. Create the webhook and copy its signing secret. You can also send a test event and create a compatible API key from the confirmation dialog.
To create a webhook for one folder:
  1. Open the folder and select Integrations.
  2. Select Webhooks, then Create new webhook.
  3. Choose the events to receive and enter your endpoint URL.
  4. Create the webhook and copy its signing secret. Granola automatically filters the webhook to notes in that folder and its subfolders.

Create a webhook through the API

A webhook endpoint uses the same access scopes as API keys; the scopes control which notes it receives events for: With a workspace API key, pass exactly ["workspace"]. The endpoint belongs to the workspace rather than a person, and its scope can’t be changed later. If the key is limited to Engineering, its webhook only receives events for Engineering. Turning off API access for that space stops those events. Personal API keys use personal, public, or both. Register your endpoint with Create webhook endpoint:
The signing_secret is returned only in this response and cannot be retrieved later. Store it securely. You need it to verify that deliveries came from Granola.
The URL must be HTTPS and publicly reachable; addresses on private networks are rejected. events chooses which events the endpoint receives; omit it to subscribe to all events. On Enterprise plans, workspace admins control which scopes members can use in Settings → Workspace → General → Apps & connectors → API access, the same controls that govern API keys.

Filter by folder

Pass folder_ids to receive events only for notes in those folders (or their subfolders), instead of every note matching scopes. Find folder IDs with List folders.
With a personal API key, make sure scopes matches the folder’s visibility: include personal for a private folder, public for a workspace-visible one. With a workspace API key, use ["workspace"]. Each folder must be accessible to the key that created the webhook, including when another authorized key edits the filter. A folder outside that key’s spaces returns 404. Removing the folder filter does not remove the key’s space limits.

Events

Each way a note can change has its own event. Your endpoint receives the events it subscribed to, for notes in its scope: note.generated is sent only when a note’s first summary is generated while your endpoint can access it. If an already-generated note is later shared with you, your endpoint receives note.access_granted instead. Subscribe to both events when using webhooks to discover notes. An example payload:
note.edited payloads also include a data object with changed_fields, the note fields that changed. Currently this is always ["summary"]. Payloads carry no note content. When you receive one, fetch the note with your API key. Access checks apply at fetch time, so a delivery never exposes more than the API would.

Verify deliveries

Every delivery is signed following the Standard Webhooks specification, so you can verify it with any Standard Webhooks library, or a few lines of code. The signature is an HMAC-SHA256 of {webhook-id}.{webhook-timestamp}.{body}, keyed with your signing secret (base64-decoded, after the whsec_ prefix). Sample code for verifying it yourself:
Compute the signature over the raw request body and parse the JSON only after verifying. To protect against replayed deliveries, reject requests whose webhook-timestamp is more than a few minutes old.

Deliveries and retries

Your endpoint has 15 seconds to respond, so acknowledge with a 2xx before any heavy processing. Failed deliveries are retried with exponential backoff for four days. Retries reuse event_id, which can be used to deduplicate deliveries. After repeated failures with no success for four days, Granola disables the endpoint and emails its creator or workspace admins. Events missed while disabled are not replayed. Restore the receiver, then re-enable the endpoint in Settings → Connectors → Webhooks.

Manage webhook endpoints

List the endpoints your key can manage:
  • A personal key sees endpoints created by the same user. An Enterprise workspace admin’s personal key can see all API-created endpoints in that workspace.
  • A workspace API key limited to selected spaces can only list, edit, or delete endpoints created with that exact key. Another key with the same selected spaces cannot manage them.
  • A workspace API key with All spaces can manage workspace-owned endpoints created by other keys in the same workspace. Editing a webhook does not replace its creating key’s space limits.
For example, a Sales-only key cannot delete a webhook created by an Engineering-only key. An All spaces key in the same workspace can delete either webhook. To replace a limited key, create a new webhook with the replacement key and delete the old endpoint with the original key or an All spaces key.
created_by is null for endpoints registered with a workspace API key, which belong to the workspace rather than a person, and when the endpoint creator’s account was deleted.
The signing secret is never included in list responses; it’s shown once, on creation.
Delete an endpoint to stop its deliveries immediately:
See the API reference for full request and response schemas: Create webhook endpoint, List webhook endpoints, Update webhook endpoint, Delete webhook endpoint.