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

  • documents
    • generationFailure (documents.generationFailure)
    • generationSuccess (documents.generationSuccess)

HTTP handler setup

app/api/webhook/route.ts

Events

Documents

Generation Failure

documents.generationFailure A document failed to generate Payload
webhookHooks example

Generation Success

documents.generationSuccess A document finished generating successfully Payload
webhookHooks example