Skip to main content
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).
New to Corsair? See webhooks and hooks.

Webhook map

  • databasePages
    • pageCreated (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
webhookHooks example

Page Updated

databasePages.pageUpdated A page was updated in a database Payload
webhookHooks example

Verification

Verification

verification Notion URL verification — respond to confirm the webhook endpoint Payload
webhookHooks example