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

  • form
    • completed (form.completed)
    • declined (form.declined)
    • started (form.started)
    • viewed (form.viewed)
  • submission
    • archived (submission.archived)
    • completed (submission.completed)
    • created (submission.created)
    • expired (submission.expired)
  • template
    • archived (template.archived)
    • created (template.created)
    • updated (template.updated)

HTTP handler setup

app/api/webhook/route.ts

Events

Form

Completed

form.completed A submitter completed and signed the form (event_type form.completed) Payload
webhookHooks example

Declined

form.declined A submitter declined to sign (event_type form.declined) Payload
webhookHooks example

Started

form.started A submitter started filling in the form (event_type form.started) Payload
webhookHooks example

Viewed

form.viewed A submitter opened the signing form (event_type form.viewed) Payload
webhookHooks example

Submission

Archived

submission.archived A submission was archived (event_type submission.archived) Payload
webhookHooks example

Completed

submission.completed Every submitter of a submission completed it (event_type submission.completed) Payload
webhookHooks example

Created

submission.created A submission was created (event_type submission.created) Payload
webhookHooks example

Expired

submission.expired A submission passed its expiry date (event_type submission.expired) Payload
webhookHooks example

Template

Archived

template.archived A template was archived (event_type template.archived) Payload
webhookHooks example

Created

template.created A template was created (event_type template.created) Payload
webhookHooks example

Updated

template.updated A template was changed (event_type template.updated) Payload
webhookHooks example