Skip to content
Stacks

E-signatures and clickwrap for your stack

Pick your language or framework and add e-signatures and clickwrap with code that was run on it. Esign Comply has a server package for Node.js, a browser SDK and React hooks. Every other language calls the REST API with plain HTTPS requests. Each stack page links to a quickstart that ends in a sealed test record.

Follow the setup and each signature is a valid electronic signature under the U.S. ESIGN Act, state UETA laws and New York's ESRA, on every stack listed here.

$npm install esigncomply @esigncomply/browser

Free plan: 10 live signatures a month and a full test mode. No card required.

Last updated

server.js (excerpt), from the Node.js quickstart
// Step 4: create the session with the secret key. The browser gets the client token only.
if (req.method === "POST" && url.pathname === "/api/ceremony") {
  const { data: session, error } = await esc.sessions.create(
    {
      profile: process.env.ESIGNCOMPLY_PROFILE_ID,
      signer,
      documents: [
        { document: DOCUMENTS.terms, version: "current" },
        { document: DOCUMENTS.privacy, version: "current" },
      ],
      // The page that runs the ceremony: the origin the browser reports, plus its path.
      context: { url: `${req.headers.origin ?? url.origin}/signup`, locale: "en-US", purpose: "account_signup" },
    },
    { idempotencyKey: `signup-${signer.external_id}-${randomUUID()}` },
  );
  if (error) return json(res, 502, { error: error.code });
  pinned.set(signer.external_id, session.documents.map((d) => d.version_id));
  return json(res, 200, { clientToken: session.client_token, apiUrl: session.api_url, documents: session.documents });
Node.js quickstart
37 stacks

Which stacks does Esign Comply have a page and a quickstart for?

Each stack has a landing page that shows how the integration is laid out there, and a quickstart with the code. The code was run on that stack before the page was published.

JavaScript and TypeScript frameworks

JavaScript runtimes and servers

Python

Ruby

PHP

Other server languages

What is on a stack page, a quickstart and a long guide?

One stack can have three pages. Each has a job of its own, and they link to each other.

Landing page

How it fits your stack

Short. It shows the tested code, where each part lives, the things that go wrong on that stack, and a prompt for your AI coding tool. Example: Next.js.

Docs quickstart

From install to a sealed test record

Step by step: install, set the key, register a document, create the session, attach the browser SDK, confirm on the server, run the conformance check, go live. Example: Next.js quickstart.

Long guide

One whole flow, file by file

A full worked build with the database table, the webhook and the re-acceptance gate. 5 exist today: stack guides.

Not for

Who is Esign Comply for, and who should use a send-a-PDF tool instead?

Esign Comply is for developers who build the signing or acceptance screen themselves, in their own app, often with an AI coding tool: a signup clickwrap, checkout terms, an NDA, or a whole signing product of their own. You build the interface and Esign Comply keeps the independent record.

If you want to upload a PDF and send it for signature today without writing any code, use a hosted send-a-PDF tool. Esign Comply has no hosted signing page: every screen a signer sees is one you build. Some documents cannot be signed through the API at all, such as wills, family-law documents, court documents and documents that need a notary. Supported and blocked document types

Questions about Esign Comply in your stack

Which languages have an Esign Comply SDK?

JavaScript and TypeScript. The server package esigncomply is written for Node.js, @esigncomply/browser runs in the browser, and @esigncomply/react adds hooks. Python, Ruby, PHP and Go call the REST API with their own HTTP client, and the stack pages show that call.

What does every stack page have in common?

The same four steps. Your server creates a session with the secret key, the browser SDK attaches to the form you built, the signer acts, and your server confirms the record before it grants anything. The pages differ in where each step lives on that stack.

Was the code on these pages run?

Yes. Each stack has a small project with the real framework, run against the API in test mode until the conformance check passed and the server confirmed a sealed record. The quickstart of each stack names the versions it was run on.

My stack is not listed. Can I still use the API?

Yes. The API is plain HTTPS and JSON, so any language that can send a request with a header can create a session and read a record. The general quickstart shows the whole ceremony with curl.

Is a signature recorded this way valid?

Yes. Follow the setup and each signature is a valid electronic signature under the U.S. ESIGN Act, state UETA laws and New York's ESRA, whichever stack sends the two calls. The rules are applied by the API and the browser SDK, not by your framework.

Build the signing flow yourself. Leave the record to us.

Free plan: 10 live signatures a month and a full test mode. No card required.

Working with an AI tool? This page is also available as Markdown: /stacks.md