Skip to main content
Use DocuSeal through Corsair: one client, typed API calls, and incoming webhooks. Create an API key at console.docuseal.com under API. Every DocuSeal account also gets a free sandbox with separate keys, so you can test without touching production documents. Things to know before you send:
  • Real signatures. submissions.create sends the signature-request emails immediately unless you pass send_email: false; the same applies to the create-from-PDF, HTML and DOCX variants. submitters.update with completed: true counter-signs the document as that submitter, which cannot be undone.
  • Archive, not delete. The hosted API has no hard delete. templates.archive and submissions.archive archive; restore either with templates.update or submissions.update and archived: false.
  • Signed document URLs. submissions.getDocuments returns URLs of the signed documents. They act as bearer credentials, so treat the result as sensitive.
  • Paging. The three list endpoints page by id cursor: pass pagination.next from one page as after on the next. Page size is capped at 100 (DocuSeal defaults to 10).
  • Plans and editions. On DocuSeal Cloud every operation works in the free test mode (checked 11-28). The open-source self-hosted build has no routes for templates from HTML, PDF or DOCX, templates.merge, templates.updateDocuments or one-off submissions from PDF, HTML or DOCX: those answer 404 there. Without Pro, Cloud’s submissions.createFromEmails creates a submission for the first address only.
  • Webhooks. DocuSeal sends 11 event types (form viewed, started, completed, declined; submission created, completed, expired, archived; template created, updated, archived). Add the webhook URL in DocuSeal’s webhook settings and store its signing secret (whsec_...) as the webhook signature: every delivery is checked against X-Docuseal-Signature (an HMAC-SHA256 of the timestamp and body) and refused when it is more than five minutes old. events.listFormCompleted and events.listSubmissionCompleted give the same completed events by polling.
  • Hosts. Calls go to api.docuseal.com. Pass baseUrl to the plugin for the EU cloud (https://api.docuseal.eu) or a self-hosted site (https://sign.example.com; /api is added).
What you get:
  • 28 typed API operations
  • 11 incoming webhook event types

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

List templates
Send a template for signature
See the full list on the API page.

Webhooks

This plugin registers 11 webhook event types. Configure the provider to POST to your Corsair HTTP handler, then use webhookHooks on the plugin factory. See Webhooks for every event path and payload shape, and Webhooks concept for routing.

What’s next

API reference

Every docuseal.api.* operation with input and output types.

Webhooks

Event paths, payloads, and webhookHooks examples.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.