- Real signatures.
submissions.createsends the signature-request emails immediately unless you passsend_email: false; the same applies to the create-from-PDF, HTML and DOCX variants.submitters.updatewithcompleted: truecounter-signs the document as that submitter, which cannot be undone. - Archive, not delete. The hosted API has no hard delete.
templates.archiveandsubmissions.archivearchive; restore either withtemplates.updateorsubmissions.updateandarchived: false. - Signed document URLs.
submissions.getDocumentsreturns 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.nextfrom one page asafteron 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.updateDocumentsor one-off submissions from PDF, HTML or DOCX: those answer 404 there. Without Pro, Cloud’ssubmissions.createFromEmailscreates 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 againstX-Docuseal-Signature(an HMAC-SHA256 of the timestamp and body) and refused when it is more than five minutes old.events.listFormCompletedandevents.listSubmissionCompletedgive the same completed events by polling. - Hosts. Calls go to
api.docuseal.com. PassbaseUrlto the plugin for the EU cloud (https://api.docuseal.eu) or a self-hosted site (https://sign.example.com;/apiis added).
- 28 typed API operations
- 11 incoming webhook event types
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the DocuSeal API key before the first call: More: API Key
pnpm corsair setup --plugin=docuseal --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.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 templatesWebhooks
This plugin registers 11 webhook event types. Configure the provider to POST to your Corsair HTTP handler, then usewebhookHooks 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.