Skip to main content
The Coda 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

  • docs
    • created (docs.created)
    • deleted (docs.deleted)
  • pages
    • created (pages.created)
    • updated (pages.updated)

HTTP handler setup

app/api/webhook/route.ts

Events

Docs

Created

docs.created A doc was created or copied in the organization Payload
webhookHooks example

Deleted

docs.deleted A doc was deleted in the organization Payload
webhookHooks example

Pages

Created

pages.created A page was added to a doc Payload
webhookHooks example

Updated

pages.updated A page in a doc was edited, renamed or moved Payload
webhookHooks example