JSON over HTTPS. Make a key on your account page (signed in), and send it as Authorization: Bearer csk_…. Keys belong to your account and count against its plan.
| Call | What it does |
|---|---|
GET /me | Your account, plan and envelopes used in the last 30 days. |
POST /envelopes | Create and send an envelope. JSON with document_base64, or multipart with file + meta. Returns the envelope, its signers and fields (with ids), the disclosure text and the URLs below. |
GET /envelopes | Your last 200 envelopes. |
GET /envelopes/:id | Status, signers, fields, the full audit trail and whether its hash chain is intact. |
GET /envelopes/:id/sealed.pdf | The sealed PDF, once everyone has signed. original.pdf is the upload. |
POST /envelopes/:id/signers/:sid/attested-sign | Record the signature of a signer your app has identified (signer created with "auth": "caller"). |
POST /envelopes/:id/signers/:sid/link | A fresh signing link for an email-code signer, to hand over yourself (no email sent; earlier links stop working). |
POST /envelopes/:id/remind, /void | Remind a waiting signer {signer}, or void the envelope {reason}. |
GET /verify?sha256= | Whether we sealed a PDF with that fingerprint, and who signed it how. POST /verify with the PDF bytes checks the seal itself. |
GET /plans | Plans and passes on sale. |
All paths are under https://consenta.cc/api/v1/sign.
curl https://consenta.cc/api/v1/sign/envelopes \
-H "Authorization: Bearer $CONSENTA_KEY" -H "Content-Type: application/json" \
-d '{
"title": "Letter of intent",
"document_base64": "JVBERi0xLjcK...",
"sequential": true,
"signers": [
{ "name": "Pat Rivera", "email": "pat@example.com" },
{ "name": "Sam Lee", "email": "sam@example.com", "auth": "caller" }
],
"fields": [
{ "kind": "signature", "signer": 0, "page": 0, "x": 0.1, "y": 0.80, "w": 0.3, "h": 0.05 },
{ "kind": "text", "signer": 1, "page": 0, "x": 0.1, "y": 0.70, "w": 0.4, "h": 0.03, "label": "Title" },
{ "kind": "signature", "signer": 1, "page": 0, "x": 0.55, "y": 0.80, "w": 0.3, "h": 0.05 },
{ "kind": "date", "signer": 1, "page": 0, "x": 0.55, "y": 0.86, "w": 0.2, "h": 0.03 }
]
}'
"delivery": "none" gets no email; hand them a link from /link. A signer with "auth": "caller" is never emailed a link and signs only through attested-sign.message, expiresDays (1 to 120, default 30), reminderDays (0 to 14), per-signer accessCode.Use this when your own app has already confirmed who the signer is, for example with its own sign-in plus Face ID on their device. Your app must first show the signer the document and the disclosure (consent.text on the envelope) and get their agreement and their confirmation of intent.
curl https://consenta.cc/api/v1/sign/envelopes/env_…/signers/sgn_…/attested-sign \
-H "Authorization: Bearer $CONSENTA_KEY" -H "Content-Type: application/json" \
-d '{
"consent": { "agree": true, "version": "2026-10-29.1" },
"intent": true,
"attestation": {
"method": "Face ID",
"app": "Mobley app",
"device": "iPhone",
"subject": "AuthFor account abf2…",
"verified_at": 1762540000000,
"ip": "203.0.113.9",
"user_agent": "Mobley/3 iOS/26"
},
"fields_by_label": { "Title": "Managing Member" },
"signature_png": "data:image/png;base64,…",
"timezone": "America/Los_Angeles"
}'
verified_at is when the signer passed your check, in milliseconds, within the last 15 minutes. ip and user_agent are the signer's device; without them we record your server's.fields or by label in fields_by_label. Leave out signature_png to sign with the signer's typed name.urls.sealed_pdf and urls.verify are filled in, and every party is emailed the sealed copy.Errors are {"ok": false, "code": "…", "message": "…"} with a 4xx status: AUTH_REQUIRED, EMAIL_REQUIRED, PLAN_LIMIT (402), BAD_SIGNERS, BAD_FIELDS, NOT_YOUR_TURN, CONSENT_REQUIRED, ATTESTATION_REQUIRED, ATTESTATION_STALE, MISSING_FIELD, CLOSED.