The Notion plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).Documentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
Webhook map
databasePagespageCreated(databasePages.pageCreated)pageUpdated(databasePages.pageUpdated)
verification(verification)
HTTP handler setup
app/api/webhook/route.ts
Events
Database Pages
Page Created
databasePages.pageCreated
A page was created in a database
Payload
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
timestamp | string | Yes | — |
workspace_id | string | Yes | — |
subscription_id | string | Yes | — |
integration_id | string | Yes | — |
type | page.created | Yes | — |
authors | object[] | Yes | — |
accessible_by | object[] | Yes | — |
entity | object | Yes | — |
data | object | Yes | — |
authors full type
authors full type
accessible_by full type
accessible_by full type
entity full type
entity full type
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Page Updated
databasePages.pageUpdated
A page was updated in a database
Payload
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
timestamp | string | Yes | — |
workspace_id | string | Yes | — |
subscription_id | string | Yes | — |
integration_id | string | Yes | — |
type | page.updated | Yes | — |
authors | object[] | Yes | — |
accessible_by | object[] | Yes | — |
entity | object | Yes | — |
data | object | Yes | — |
authors full type
authors full type
accessible_by full type
accessible_by full type
entity full type
entity full type
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Verification
Verification
verification
Notion URL verification — respond to confirm the webhook endpoint
Payload
| Name | Type | Required | Description |
|---|---|---|---|
verification_token | string | Yes | — |
Response data full type
Response data full type
webhookHooks example