Add e-signatures and clickwrap on Cloudflare Workers
To add e-signatures and clickwrap on Cloudflare Workers, keep the secret key as a Worker secret and create the session in the Worker's fetch handler with the esigncomply package. The signup page is a static asset, and a D1 table holds what the session pinned, then the receipt. Esign Comply seals each acceptance as an independent record.
Follow the steps and each signature your app records is a valid electronic signature under the ESIGN Act, state UETA laws and New York's ESRA, and your clickwrap is built the way courts require: clear notice of the terms, an unmistakable act of assent, and a sealed record of both.
Paste this prompt into Cursor, Claude Code or another AI coding tool to have it build the same integration:
Add Esign Comply clickwrap to my Cloudflare Workers app: a signup form where the user accepts the Terms of Service and the Privacy Notice with a checkbox and a button.
Read these first and follow them exactly. If something conflicts with existing code, or you are unsure how to implement a step, stop and ask. Do not invent API methods, packages or legal wording.
- https://esigncomply.com/docs/quickstart/cloudflare-workers.md (the steps and the tested code for Cloudflare Workers)
- https://esigncomply.com/setup.md (the order of API calls)
- https://esigncomply.com/auth.md (how to handle the keys)
Cloudflare Workers facts
- Packages (the only ones that exist): esigncomply (server) and @esigncomply/browser. The esigncomply package runs in the Workers runtime: create the client in the fetch handler with new EsignComply(env.ESIGNCOMPLY_API_KEY).
- The secret key is a Worker secret: npx wrangler secret put ESIGNCOMPLY_API_KEY for the deployed Worker, a .dev.vars file for wrangler dev. Never put it under vars in the Wrangler configuration file. Never print it.
- Static assets are served without running the Worker. The signup page is a file in the assets directory, and the API routes and document pages are the Worker.
- Two requests can run in two isolates. Keep the pinned version IDs in D1, never in a module-level variable.
- The page is on screen before the script has a session: render the checkbox disabled and enable it when observeAssent has resolved.
Build
1. Verify the key: GET /v1/usage with ESIGNCOMPLY_API_KEY. Stop if it fails.
2. Register the Terms of Service and the Privacy Notice as documents and publish one version of each from the documents in this project. If the project has none, register short sample documents and say so in your report. Never write or change the wording of the real documents. Create a profile: jurisdictions ["US-FED"], method "checkbox", assurance_level "L1".
3. Worker: POST /api/ceremony creates the session with esc.sessions.create and an Idempotency-Key, saves the signer ID and the pinned version IDs in D1, and returns only clientToken, apiUrl and documents.
4. Worker: GET /legal/terms and /legal/privacy render the registered version from esc.documents.versions.getContent inside <article data-esc-document>, unmodified.
5. Browser: EsignComply.attach({ clientToken, apiUrl }), presentDocument for each link, observeAssent({ region, checkbox, submit }), then complete() from the user's real click.
6. Worker: POST /api/signup/confirm reads the record with esc.records.get and requires: status is "recorded", "timestamped" or "anchored"; livemode is as expected; the signer ID and version IDs equal the row in D1. Only then create the account, and store the record ID and the receipt in the same row.
Never
- Never pre-check the box, auto-submit, or call .click() on the user's behalf.
- Never use "By continuing" or "By clicking below" wording. The notice names the button by its label and each document by its registered name.
- Never put the secret key, or any call that uses it, in code that reaches the browser.
- Never show "signed" or "accepted" before the server has confirmed the record.
- Never fall back to an acceptance with no record when a session is refused.
Check before you report success
- Run: npx esigncomply check --url http://localhost:8787/signup --callback http://localhost:8787/api/signup/confirm
Fix every finding marked "block". List every finding marked "warn".
- Report the files you created or changed, anything you did not implement and why, and the conformance summary.
Then add the rules block to this project's instruction file: https://esigncomply.com/rules.md
The rest of this page is the same integration by hand, in eight steps. Steps 1 to 7 run on your machine with wrangler dev. Step 8 is the part that happens on Cloudflare.
Before you start
- A test API key. Create an account with your email, no card, then choose Create test key in the dashboard. The key is shown once and starts with
esc_test_. An AI agent with an agent token creates it withPOST /v1/agent/api-keys: see the agent account API. - Nothing else from Esign Comply. Test mode works on
localhostwith no card and no domain, and the Free plan includes it in full. - Node.js 20.19 or later for Wrangler and the conformance check. This page was run with Wrangler 4.166.0.
- A Cloudflare account, when you reach step 8. Steps 1 to 7 need none:
wrangler devruns the Worker and D1 on your machine. curlandjqfor steps 2 and 3.
Step 1. Install
Install the esigncomply server package and Wrangler, the command line tool that runs the Worker on your machine and deploys it:
mkdir esigncomply-quickstart && cd esigncomply-quickstart
npm init -y && npm pkg set type=module
npm install esigncomply
npm install --save-dev wrangler
mkdir src public
The esigncomply package is written for Node.js, and it also runs in the Workers runtime: every call on this page was made from a Worker under wrangler dev.
Step 2. Set the key
On your machine the key goes in .dev.vars, in the same folder as the Wrangler configuration file. wrangler dev reads it and passes each line to the Worker on env. On Cloudflare the key is a secret, added with npx wrangler secret put in step 8. It never goes under vars, which is plain text in a file you commit.
# .dev.vars (never commit this file)
ESIGNCOMPLY_API_KEY=esc_test_us_...
Load the file into your shell for the commands in steps 2, 3 and 7, then check that the key works:
set -a; . ./.dev.vars; set +a
curl -s ${ESIGNCOMPLY_API_URL:-https://esigncomply.com/v1}/usage \
-H "Authorization: Bearer $ESIGNCOMPLY_API_KEY" | jq '{plan_name, test_events}'
{
"plan_name": "Free",
"test_events": {
"used_this_month": 0,
"quota_per_month": 500
}
}
A 401 means the key is wrong or revoked: see invalid_api_key. The rules for handling keys are in /auth.md.
Step 3. Register a document version
Every record pins the exact version of each document by hash, so the documents are registered first. This block registers a Terms of Service and a Privacy Notice with one version each, and creates a profile: the Federal pack, a checkbox with a button, level L1. It is the same for every stack and needs curl and jq.
ESC=${ESIGNCOMPLY_API_URL:-https://esigncomply.com/v1}
KEY="Authorization: Bearer $ESIGNCOMPLY_API_KEY"
JSON="Content-Type: application/json"
# Two sample documents, one version each.
TERMS=$(curl -s $ESC/documents -H "$KEY" -H "$JSON" \
-d '{"name":"Terms of Service","type":"terms"}' | jq -r .id); sleep 1
curl -s $ESC/documents/$TERMS/versions -H "$KEY" -H "$JSON" \
-d '{"version_label":"1","language":"en","content":{"format":"markdown","text":"# Terms of Service\n\nThese are sample terms for a test."},"material_change":true}' \
| jq -r .id; sleep 1
PRIVACY=$(curl -s $ESC/documents -H "$KEY" -H "$JSON" \
-d '{"name":"Privacy Notice","type":"privacy_notice"}' | jq -r .id); sleep 1
curl -s $ESC/documents/$PRIVACY/versions -H "$KEY" -H "$JSON" \
-d '{"version_label":"1","language":"en","content":{"format":"markdown","text":"# Privacy Notice\n\nThis is a sample privacy notice for a test."}}' \
| jq -r .id; sleep 1
# A profile: Federal pack, checkbox plus button, L1.
PROFILE=$(curl -s $ESC/profiles -H "$KEY" -H "$JSON" \
-d '{"name":"Signup","jurisdictions":["US-FED"],"method":"checkbox","assurance_level":"L1"}' | jq -r .id)
printf 'ESIGNCOMPLY_PROFILE_ID=%s\nESIGNCOMPLY_TERMS_ID=%s\nESIGNCOMPLY_PRIVACY_ID=%s\n' "$PROFILE" "$TERMS" "$PRIVACY"
It prints the two version IDs, then three lines with your own IDs:
dv_YiWs9cmWoVSGp7ALPeZS
dv_bAYeA7QigKUH0iLhPpV7
ESIGNCOMPLY_PROFILE_ID=prof_SPVEgBT8a8Ror3mJ8M99
ESIGNCOMPLY_TERMS_ID=doc_bDgYFndAoC8tkeYibAVy
ESIGNCOMPLY_PRIVACY_ID=doc_mb2hnWKS0Qa7SKtucDW9
Add the three lines to .dev.vars. The pauses keep the script under the Free plan's 2 requests per second. Keep the names Terms of Service and Privacy Notice: the notice on your page names each document by its registered name, and rule CR-02 checks that it does. With your own documents, publish the text you already have and change the notice to match. See Documents and Profiles.
Step 4. Create a session on the server
The Wrangler configuration file names the Worker, the assets folder and the D1 database:
// wrangler.jsonc
{
"name": "esigncomply-quickstart",
"main": "src/index.js",
"compatibility_date": "2026-11-01",
"compatibility_flags": ["nodejs_compat"],
// public/signup.html is served at /signup. Every other path runs the Worker.
"assets": { "directory": "./public" },
// D1 keeps what the Worker pinned, then the record ID and the receipt.
// Local development accepts any database_id. Before you deploy, run
// `npx wrangler d1 create esigncomply-quickstart` and paste the ID it prints.
"d1_databases": [
{ "binding": "DB", "database_name": "esigncomply-quickstart", "database_id": "00000000-0000-0000-0000-000000000000" }
],
// Plain text, so never a key. Set it to "true" on the production Worker only.
"vars": { "ESIGNCOMPLY_LIVE": "false" }
}
Two requests can run in two isolates, so what the session pinned cannot sit in a variable. It goes in a D1 table, which later holds the record ID and the receipt as well:
-- schema.sql
CREATE TABLE IF NOT EXISTS acceptances (
signer_id TEXT PRIMARY KEY, -- signer.external_id sent to Esign Comply
version_ids TEXT NOT NULL, -- JSON array: the versions the session pinned
record_id TEXT, -- rec_..., set once the record is confirmed
receipt TEXT, -- the signed receipt (JWS, ES256)
accepted_at TEXT
);
Create the table in the local database:
npx wrangler d1 execute esigncomply-quickstart --local --file=schema.sql
The Worker is one file. Secrets and variables arrive on env with each request, so the client is created inside fetch. POST /api/ceremony creates the session and returns three values to the browser: the client token, the API URL and the pinned documents.
// src/index.js
import { EsignComply } from "esigncomply";
const SEALED = ["recorded", "timestamped", "anchored"];
// The signer. In your app this is the signed-in user, or the account you are about to create.
const signer = {
external_id: "user_7c1d",
email: "dana@example.org",
name: "Dana Whitfield",
class: "consumer",
country: "US",
region: "US-CA",
};
export default {
async fetch(request, env) {
const url = new URL(request.url);
// Secrets and variables arrive on env with each request, so the client is created here.
const esc = new EsignComply(env.ESIGNCOMPLY_API_KEY, { baseUrl: env.ESIGNCOMPLY_API_URL });
const documents = { terms: env.ESIGNCOMPLY_TERMS_ID, privacy: env.ESIGNCOMPLY_PRIVACY_ID };
// The document pages: each one renders a registered version, unmodified.
if (request.method === "GET" && url.pathname.startsWith("/legal/")) {
const documentId = documents[url.pathname.slice("/legal/".length)];
if (!documentId) return Response.json({ error: "not_found" }, { status: 404 });
const { data, error } = await esc.documents.versions.getContent(documentId, url.searchParams.get("v") ?? "current");
if (error) return Response.json({ error: error.code }, { status: 404 });
return new Response(`<!doctype html><meta charset="utf-8"><article data-esc-document="${data.version_id}">${data.html}</article>`, {
headers: { "Content-Type": "text/html; charset=utf-8" },
});
}
// Step 4: create the session with the secret key. The browser gets the client token only.
if (request.method === "POST" && url.pathname === "/api/ceremony") {
const { data: session, error } = await esc.sessions.create(
{
profile: env.ESIGNCOMPLY_PROFILE_ID,
signer,
documents: [
{ document: documents.terms, version: "current" },
{ document: documents.privacy, version: "current" },
],
context: { url: `${url.origin}/signup`, locale: "en-US", purpose: "account_signup" },
},
{ idempotencyKey: `signup-${signer.external_id}-${crypto.randomUUID()}` },
);
if (error) return Response.json({ error: error.code }, { status: 502 });
// Two requests can run in two isolates, so what this Worker pinned goes to D1, not to memory.
const versionIds = JSON.stringify(session.documents.map((d) => d.version_id).sort());
await env.DB.prepare(
"INSERT INTO acceptances (signer_id, version_ids) VALUES (?1, ?2) ON CONFLICT (signer_id) DO UPDATE SET version_ids = ?2, record_id = NULL, receipt = NULL, accepted_at = NULL",
)
.bind(signer.external_id, versionIds)
.run();
return Response.json({ clientToken: session.client_token, apiUrl: session.api_url, documents: session.documents });
}
// Step 6: confirm the record with the secret key before the account exists.
if (request.method === "POST" && url.pathname === "/api/signup/confirm") {
const { recordId } = await request.json();
const { data: record, error } = await esc.records.get(String(recordId));
const row = await env.DB.prepare("SELECT version_ids FROM acceptances WHERE signer_id = ?1").bind(signer.external_id).first();
const confirmed =
!error &&
row !== null &&
SEALED.includes(record.status) &&
record.livemode === (env.ESIGNCOMPLY_LIVE === "true") &&
record.signer.external_id === signer.external_id &&
JSON.stringify(record.documents.map((d) => d.version_id).sort()) === row.version_ids;
console.log(confirmed ? `confirmed ${record.id} (${record.status})` : "refused");
if (!confirmed) return Response.json({ confirmed: false }, { status: 409 });
// Only now create the account. The record ID and the receipt stay in your own table.
await env.DB.prepare("UPDATE acceptances SET record_id = ?2, receipt = ?3, accepted_at = ?4 WHERE signer_id = ?1")
.bind(signer.external_id, record.id, record.receipt, record.signed_at)
.run();
return Response.json({ confirmed: true, recordId: record.id });
}
return Response.json({ error: "not_found" }, { status: 404 });
},
};
The signer is a fixed test person here. In your app it is the signed-in user or the account you are about to create.
Step 5. Attach the ceremony in the browser
The browser SDK renders nothing. It observes the checkbox, the notice, the links and the button you built, and reports each step from the signer's browser straight to Esign Comply. Save the page as public/signup.html. Workers serves it at /signup as a static asset, without running the Worker.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Create account</title>
<style>
body { font: 16px/1.5 system-ui, sans-serif; max-width: 480px; margin: 48px auto; padding: 0 20px; }
a { color: #0b57d0; text-decoration: underline; }
button { font: inherit; padding: 10px 16px; }
</style>
</head>
<body>
<h1>Create account</h1>
<form id="signup">
<div id="assent">
<!-- The page is on screen before the script has a session, so the box stays disabled until the SDK watches it. -->
<label><input id="agree" type="checkbox" disabled /> I agree to the Terms of Service and Privacy Notice</label>
<p>
By checking the box and clicking Create account, you agree to the
<a id="tos-link" href="/legal/terms">Terms of Service</a> and acknowledge the
<a id="privacy-link" href="/legal/privacy">Privacy Notice</a>.
</p>
<button id="create-account" type="submit" disabled>Create account</button>
</div>
<p id="message" role="alert"></p>
</form>
<script src="https://esigncomply.com/sdk/v1/esigncomply.js"></script>
<script type="module">
const agree = document.querySelector("#agree");
const submit = document.querySelector("#create-account");
const message = document.querySelector("#message");
// Your server creates the session and returns only the client token and the pinned documents.
const response = await fetch("/api/ceremony", { method: "POST" });
const { clientToken, apiUrl, documents } = await response.json();
const ceremony = await EsignComply.attach({ clientToken, apiUrl });
ceremony.on("change", ({ remainingSteps }) => {
submit.disabled = remainingSteps.some((step) => step !== "signature.applied");
});
// Point each link at the exact version this session pinned, then report it.
const links = [document.querySelector("#tos-link"), document.querySelector("#privacy-link")];
for (const [i, link] of links.entries()) {
link.search = "?v=" + documents[i].version_id;
await ceremony.presentDocument({ versionId: documents[i].version_id, mode: "hyperlink", link });
}
await ceremony.observeAssent({
region: document.querySelector("#assent"), // notice, links, checkbox, button
checkbox: agree,
submit,
});
agree.disabled = false; // the SDK watches the box from here on. Only the user ticks it.
document.querySelector("#signup").addEventListener("submit", async (event) => {
event.preventDefault();
try {
const result = await ceremony.complete(); // the signing act, from the signer's own click
// The result came to the browser. Your server confirms the record before anything is granted.
const confirmed = await fetch("/api/signup/confirm", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ recordId: result.recordId }),
});
message.textContent = confirmed.ok
? `Account created. Record ${result.recordId}`
: "We could not confirm whether your acceptance was recorded. Please wait while we check.";
} catch (error) {
message.textContent = error.message;
}
});
</script>
</body>
</html>
Start the Worker and open http://localhost:8787/signup:
npx wrangler dev
The checkbox starts unchecked and disabled: the page is on screen before the script has a session, and the script enables the box once the SDK observes it. A box ticked before that fails CR-01. In a test with the session request held back, a click on the box did nothing. The button stays disabled until the box is ticked. Tick it, click Create account, and the page shows:
Account created. Record rec_YLk1fAQZ4UcvjUSBh1sn
Each link opens a document page that the Worker renders from the registered version, on the same origin as the signup page.
Step 6. Confirm the record on the server
The result of complete() was delivered to the browser, so the Worker does not trust it. POST /api/signup/confirm in src/index.js reads the record with the secret key and the row from D1, and grants access only when four things hold: the status is recorded, timestamped or anchored; livemode is what this Worker expects; the signer is the one the session was created for; and the document versions are exactly the ones it pinned. This step is never optional.
wrangler dev prints one line for each confirmation:
confirmed rec_YLk1fAQZ4UcvjUSBh1sn (recorded)
The row then holds the record ID and the receipt:
npx wrangler d1 execute esigncomply-quickstart --local \
--command "SELECT signer_id, record_id, substr(receipt, 1, 12) AS receipt_start, accepted_at FROM acceptances"
{
"signer_id": "user_7c1d",
"record_id": "rec_YLk1fAQZ4UcvjUSBh1sn",
"receipt_start": "eyJhbGciOiJF",
"accepted_at": "2026-11-26T09:42:45.078Z"
}
A record ID that was made up is refused with status 409 and {"confirmed":false}. See Server confirmation for the webhook that backs this route up when the browser closes early.
Step 7. Check the result
Open the dashboard and choose Records. The test record is there with what was observed, what was asserted, and its evidence report, watermarked TEST.
Then run the conformance check against the page. It opens the page in headless Chromium at three window sizes, signs as a visitor would, and tries four things that must be refused. One of them posts a made-up record ID to your confirm route.
npm install --save-dev playwright
npx playwright install chromium
npx esigncomply check --url http://localhost:8787/signup --callback http://localhost:8787/api/signup/confirm
The report for this page's code, shortened:
Violations that must be refused
REFUSED Submit with the checkbox untouched No record was made.
REFUSED Completion from another origin The API answered 403 domain_mismatch.
REFUSED Programmatic click No record was made.
REFUSED Forged success posted to your callback http://localhost:8787/api/signup/confirm answered 409.
Ceremonies
390x844 record rec_vrX0wgPNE6VPMBN6JdbW session ses_bBTsjukk73AD574fuNA5, 5 events
768x1024 record rec_oT2WGech1UT6m9a80Yic session ses_cf8BHFUUr3EVZ0HUoXN4, 5 events
1440x900 record rec_0JFmESBvyr2ddXQpRNtU session ses_HyheXMW1XaCXQDMwsLgi, 5 events
Summary: 0 block, 0 warn, 27 pass.
Fix every finding marked block and read every finding marked warn. Each one names the rule the screen missed, the measurement and the fix. In test mode a finding never stops a record from being sealed, so read the report. The rules are on Conformance rules, and every flag of the command is on the CLI page.
Step 8. Go live
Going live takes three steps on the Esign Comply side. There is no plan to choose and no checkout: the Free plan records 10 live signatures a month.
- Register your production domain and verify it. See Register a domain.
- Add your organization's legal name, country and address under Go live in the dashboard.
- Create a live key. It is shown once and starts with
esc_live_.
Test and live share nothing, so create the documents and the profile again with the live key, or copy them to live from the dashboard, and use the live IDs in production.
Then set up the Worker on Cloudflare. The settings below are from Cloudflare's own documentation, checked on November 23, 2026: Secrets, Static Assets and D1 local development.
The database. wrangler dev keeps local and remote data apart, so the deployed Worker needs its own database and its own table:
npx wrangler d1 create esigncomply-quickstart # prints the database_id for wrangler.jsonc
npx wrangler d1 execute esigncomply-quickstart --remote --file=schema.sql
The secrets. Add the live key and the live IDs to the deployed Worker, and set ESIGNCOMPLY_LIVE to "true" in the vars of the production Worker only:
npx wrangler secret put ESIGNCOMPLY_API_KEY
npx wrangler secret put ESIGNCOMPLY_PROFILE_ID
npx wrangler secret put ESIGNCOMPLY_TERMS_ID
npx wrangler secret put ESIGNCOMPLY_PRIVACY_ID
npx wrangler deploy
The domain. Register your custom domain and verify it with one DNS record. If the Worker runs on a workers.dev host, you cannot add DNS records there, so the domain verifies with a file: put the token in public/.well-known/esigncomply.txt. A preview or staging Worker on another workers.dev host keeps the test key, and its exact host goes under Domains in the dashboard as a test origin. See Register a domain.
In live mode context.url must be inside your registered domain, and browser calls are accepted only from it. By default a live signature with a finding at Block level is recorded and you are told at once which rule failed. Turn on blocking, on the dashboard's Conformance page, and it is refused before it is sealed. Run the check from step 7 until no finding is at Block level before you switch keys.
Troubleshooting
missing_api_keyfrom/api/ceremony.env.ESIGNCOMPLY_API_KEYis empty. Locally, the.dev.varsfile is missing or sits in another folder than the Wrangler configuration file. On Cloudflare, the secret was not added withnpx wrangler secret put. Seemissing_api_key.- The confirm route answers
409for a real record. The row with the pinned versions is not in the database the Worker reads.--localand--remoteare two databases: applyschema.sqlto both, and check that the binding is namedDB. A record ID that does not exist fails the same way, withnot_found. domain_mismatchon aworkers.devhost. A test key refuses a host that is not a test origin of your domain. Add the exact host under Domains in the dashboard. Test keys work onlocalhostwith no setup. Seedomain_mismatch.429when the confirm route reads the record. The route needs no retry loop: theesigncomplypackage waits for the time inRetry-Afterand tries again, up to twice, inside the Worker. In the test, four confirmations sent at once for one record all answered200, two of them about 0.9 seconds later than the others. Four reads sent at once through the package in a Worker showed why: two got429withRetry-After: 1and passed on the next attempt. Seerate_limit_exceededand Retries and timeouts.
Questions about the Cloudflare Workers quickstart
Does the esigncomply package run on Cloudflare Workers?
Yes. Every server call on this page was made with the esigncomply package inside a Worker, under Wrangler 4.166.0 with compatibility date 2026-11-01. It was tested with the nodejs_compat flag and without it, and worked both ways.
Where does the secret key go on Cloudflare Workers?
In a Worker secret. Add it with npx wrangler secret put ESIGNCOMPLY_API_KEY for the deployed Worker, and keep a .dev.vars file for wrangler dev. Do not put it under vars in the Wrangler configuration file: that file is plain text and is committed.
Why does the quickstart use D1 and not a variable or KV?
Two requests can run in two isolates, so a variable is not shared. D1 is a SQL database the Worker reads right after it writes, and the same row then keeps the record ID and the receipt, which you want in a table of your own.
Do I need a Cloudflare account to run the quickstart?
No. wrangler dev runs the Worker and D1 on your machine, and it accepted a placeholder database_id when this page was tested. You need an account to create the remote database, add the secrets and deploy.
Was this quickstart deployed to Cloudflare?
Not yet. The code was run with wrangler dev on Wrangler 4.166.0, and the Cloudflare settings come from Cloudflare's documentation as of November 23, 2026. The deployed Worker, its secrets, the remote D1 database and file verification on a workers.dev host are proven only by a deployment.
Next steps
- E-signatures and clickwrap on Cloudflare Workers: how the pieces fit on this platform, with the things to watch for.
- Register a domain: DNS and file verification, statuses, and test origins.
- Server confirmation: the checks in step 6 and the
record.completedwebhook. - Add e-signatures and clickwrap with Node.js: the same flow on a server you run yourself.
- All quickstarts.
Run on 2026-11-26 with Wrangler 4.166.0 (wrangler dev, local workerd and local D1, compatibility date 2026-11-01), esigncomply 1.0.4, the browser SDK script build and the conformance check from esigncomply 1.0.4, against the API in test mode. The Cloudflare settings are from Cloudflare's documentation as of 2026-11-23. The code has not yet been deployed to Cloudflare.
Last updated · API version 2026-11-21