Skip to main content
Use eSignatures through Corsair: one client, typed API calls. Copy the Secret Token from the API panel of your Automation/API/AI page in the eSignatures dashboard. The plugin sends it as HTTP Basic auth with an empty password, exactly as the docs’ curl examples do. Things to know before you send:
  • Real sends. contracts.create sends the sign request to every signer by email or SMS. Pass save_as_draft: 'yes' to create the contract without sending, then contracts.sendDraft when it is ready.
  • Demo contracts. Pass test: 'yes' to mark a contract as a demo; demo contracts are not charged sending credits.
  • metadata is a string. It is echoed in the contract payload and in webhook events, so a single string is what you get back, not a JSON object.
  • PDF URLs expire. contract_pdf_url on a signed contract is kept for 3 days after each request that returns it; request the contract again for a fresh URL.
  • Withdrawing. contracts.withdraw stops a sent contract from being signed. Signed contracts cannot be withdrawn, and a withdrawn contract stays withdrawn.
  • Signers. contracts.addSigner joins a signer to a contract but sends nothing; contracts.resendToSigner sends the sign request. Both need the signer’s id from the contract’s signers (add returns no signer object, so re-read the contract).
  • Rate limits. eSignatures applies adaptive rate limits and warns that frequent polling of contracts.get can lead to blocked requests. The plugin backs off and retries a 429 up to three times, honoring Retry-After when present. Prefer webhooks for status changes.
  • Webhooks. The plugin does not receive webhooks; eSignatures sends them to the HTTPS endpoint configured on the same API panel.
What you get:
  • 12 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
Pass multiTenancy: true to get corsair.withTenant(id); without it the client is single-tenant. 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

Read a contract
Send a rental agreement from a template
See the full list on the API page.

What’s next

API reference

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

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.