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

  • docChanged (docChanged)

HTTP handler setup

app/api/webhook/route.ts

Events

Doc Changed

Doc Changed

docChanged A Google Doc was created, updated, deleted, or matched a content trigger Payload
NameTypeRequiredDescription
messageobjectNo
subscriptionstringNo
eventanyNo
webhookHooks example