PlusDocSign API
Upload PDFs, send them for e-signature, follow each signer, download the signed document and its Certificate of Completion, and get notified with webhooks.
Overview
- Base URL:
https://app.plusdocsign.com/api/v1 - Requests and responses are JSON (uploads are multipart/form-data; files are PDF).
- Times are ISO-8601 in UTC, for example
2026-11-29T14:03:00Z. Field names are stable; new fields may be added, so ignore fields you do not know. - An API key acts as your account and only ever reaches your own documents.
Authentication
Create an API key in Settings > Developers (you need to be signed in). The key starts with pds_live_ and is shown once: copy it into your server's secret settings. You can have up to 10 active keys and revoke any of them at any time; a revoked key stops working immediately.
Send the key with every request:
Authorization: Bearer pds_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxX-API-Key: pds_live_... works too. API keys only work on /api/v1, and your website login does not work there. Keep keys on your server: never put them in a web page or a mobile app.
Quick start
export PDS_API_KEY=pds_live_...
# 1. Upload a PDF
curl -s -X POST https://app.plusdocsign.com/api/v1/documents \
-H "Authorization: Bearer $PDS_API_KEY" \
-F "file=@contract.pdf" -F "name=Service agreement"
# -> {"id":"3f0c2b1e-...","status":"draft","pages":2,...}
# 2. Send it for signature: one signer, one signature box on page 1
curl -s -X POST https://app.plusdocsign.com/api/v1/documents/3f0c2b1e-.../send \
-H "Authorization: Bearer $PDS_API_KEY" -H "Content-Type: application/json" \
-d '{"signers":[{"email":"ada@example.com","firstName":"Ada","lastName":"Lovelace"}],
"fields":[{"type":"signature","page":1,"x":72,"y":650,"width":180,"height":50,"signerEmail":"ada@example.com"}]}'
# 3. Check the status (or wait for the document.completed webhook)
curl -s https://app.plusdocsign.com/api/v1/documents/3f0c2b1e-... -H "Authorization: Bearer $PDS_API_KEY"Documents
POST/documents
Uploads a PDF as a draft. Multipart field file (required) and name (optional, the name shown to you and your signers; otherwise the file name). The same limits and plan allowance as the website apply. Answers 201.
curl -X POST https://app.plusdocsign.com/api/v1/documents -H "Authorization: Bearer $PDS_API_KEY" \
-F "file=@contract.pdf" -F "name=Service agreement"{
"id": "3f0c2b1e-8d5a-4c1f-9a77-2b6f0d6e9c10",
"name": "Service agreement.pdf",
"status": "draft",
"pages": 2,
"createdAt": "2026-11-29T14:03:00Z"
}POST/documents/{id}/send
Places the fields and emails each signer a personal signing link, exactly like sending from the website. Only a draft can be sent.
signers: 1 to 50 people, each withemail,firstNameandlastName(all required).fields: 1 to 500 fields:type,page(1 = first page),x,y,width,heightin PDF points (see Field coordinates),signerEmail, an optionalvalue,required(true: the signer must fill it in) and, fordropdownandradio,options(the choices).- Every signer needs at least one
signaturefield, and everysignerEmailmust be one of thesigners. options(optional): signing order, viewers, copy recipients, a deadline, automatic reminders and identity checks; see Send options.messageis not available yet; leave it out.
| type | signerEmail | value |
|---|---|---|
signature | required | — |
initials | required | — |
text | optional | With a signer: optional pre-filled text the signer fills in or keeps. Without a signer: required; the text is printed on the PDF when you send (one line, up to 500 characters). |
checkbox | optional | true or false (default false). Without a signer, a ticked box is printed when you send. |
date | optional | A text field pre-filled with a date. Defaults to today's date (UTC, YYYY-MM-DD); a signer can change it. |
dropdown, radio | required | The signer picks one of options (dropdown: at least 1, radio: at least 2; up to 50, each up to 100 characters). Only one of the options is accepted when they sign. |
datesigned | required | Filled in by PlusDocSign with the date the signer signs (UTC, YYYY-MM-DD). |
curl -X POST https://app.plusdocsign.com/api/v1/documents/{id}/send \
-H "Authorization: Bearer $PDS_API_KEY" -H "Content-Type: application/json" \
-d '{
"signers": [
{"email": "ada@example.com", "firstName": "Ada", "lastName": "Lovelace"},
{"email": "alan@example.com", "firstName": "Alan", "lastName": "Turing"}
],
"fields": [
{"type": "signature", "page": 2, "x": 72, "y": 620, "width": 180, "height": 50, "signerEmail": "ada@example.com"},
{"type": "date", "page": 2, "x": 72, "y": 680, "width": 100, "height": 20, "signerEmail": "ada@example.com"},
{"type": "signature", "page": 2, "x": 340, "y": 620, "width": 180, "height": 50, "signerEmail": "alan@example.com"},
{"type": "initials", "page": 1, "x": 500, "y": 740, "width": 60, "height": 30, "signerEmail": "alan@example.com"},
{"type": "text", "page": 1, "x": 72, "y": 100, "width": 250, "height": 20, "value": "Contract no. 2026-114"}
]
}'The answer is the document (see below) with status sent and its signers.
GET/documents?page=1&pageSize=20
Your documents, newest first (deleted documents are left out). page starts at 1; pageSize is 1 to 100 (default 20).
curl "https://app.plusdocsign.com/api/v1/documents?page=1&pageSize=20" -H "Authorization: Bearer $PDS_API_KEY"{
"data": [ { "id": "...", "name": "...", "status": "sent", ... } ],
"page": 1,
"pageSize": 20,
"total": 57,
"hasMore": true
}GET/documents/{id}
One document with its signers. completedAt is set once the document is completed; auditTrailIntact tells you whether the tamper-evident audit trail checks out.
curl https://app.plusdocsign.com/api/v1/documents/{id} -H "Authorization: Bearer $PDS_API_KEY"{
"id": "3f0c2b1e-8d5a-4c1f-9a77-2b6f0d6e9c10",
"name": "Service agreement.pdf",
"status": "completed",
"pages": 2,
"createdAt": "2026-11-29T14:03:00Z",
"completedAt": "2026-11-29T16:41:12Z",
"signers": [
{"email": "ada@example.com", "name": "Ada Lovelace", "status": "signed", "signedAt": "2026-11-29T15:10:02Z"},
{"email": "alan@example.com", "name": "Alan Turing", "status": "signed", "signedAt": "2026-11-29T16:41:12Z"}
],
"auditTrailIntact": true
}GET/documents/{id}/file
The PDF as it is now: the original while it is a draft, then the working copy with the signatures collected so far, and the final signed (sealed) PDF once completed. Downloads are recorded in the audit trail.
curl -o signed.pdf https://app.plusdocsign.com/api/v1/documents/{id}/file -H "Authorization: Bearer $PDS_API_KEY"GET/documents/{id}/certificate
The Certificate of Completion (PDF). Answers 404 certificate_not_available until every signer has signed.
curl -o certificate.pdf https://app.plusdocsign.com/api/v1/documents/{id}/certificate -H "Authorization: Bearer $PDS_API_KEY"POST/documents/{id}/remind
Emails every signer who has not signed yet a fresh signing link. Only for a sent document, and at most once every 10 minutes per document.
curl -X POST https://app.plusdocsign.com/api/v1/documents/{id}/remind -H "Authorization: Bearer $PDS_API_KEY"
# -> {"id":"...","remindedSigners":["alan@example.com"]}POST/documents/{id}/cancel
Stops a sent document: nobody can sign it any more. Answers the document with status cancelled.
curl -X POST https://app.plusdocsign.com/api/v1/documents/{id}/cancel -H "Authorization: Bearer $PDS_API_KEY"Field coordinates
- Units are PDF points: 1 point = 1/72 inch (about 0.353 mm). A US Letter page is 612 × 792 points; an A4 page is 595.28 × 841.89 points.
- The origin is the top-left corner of the page.
xgrows to the right,ygrows downwards, and (x,y) is the top-left corner of the field. - "The page" is the page's visible area (its crop box, or its media box when it has no crop box). The field must fit:
x + widthandy + heightmay not be larger than the page's width and height, otherwise the request is refused with the page size in the message. - Pages are measured as stored in the PDF, before any rotation. For a page saved with a rotation (for example a scanned landscape page), place fields on the unrotated page.
- These are the same coordinates the PlusDocSign editor uses (it shows pages at 1.54× and divides screen positions by 1.54).
Converting from other systems:
points = millimetres × 72 / 25.4 (1 inch = 72 points)
y (top-left) = pageHeight − yFromBottom − height # for tools with a bottom-left origin, such as raw PDF coordinatesTypical sizes in points: signature and initials about 120 × 35 (the editor's default) up to 180 × 50, text and date about 100 × 20, checkbox about 26 × 26. Example: a signature box 1 inch from the left and 2 inches from the bottom of a Letter page is {"x": 72, "y": 792 - 144 - 50, "width": 180, "height": 50}, i.e. y = 598.
Statuses
| Document status | Meaning |
|---|---|
draft | Uploaded, not sent yet. |
sent | Waiting for signatures. |
completed | Everyone signed; the signed PDF and certificate are ready. |
declined | A signer declined; nobody else can sign. |
cancelled | You cancelled it. |
deleted | Deleted (only returned by GET /documents/{id}). |
A signer is pending or signed (with signedAt). More statuses may be added later (for example expired); treat unknown values as "not finished".
Errors
Errors use the HTTP status code and always have this body:
{"error": {"code": "invalid_fields", "message": "fields[2] does not fit on page 1 (612 x 792 points): ..."}}Use code in your program and show message to people; messages may be reworded.
| Status | Codes | Meaning |
|---|---|---|
| 400 | invalid_request, invalid_signers, invalid_fields, invalid_json, missing_file, invalid_document, document_too_large, invalid_options, not_available_yet | The request is not valid; the message says which field. |
| 401 | missing_api_key, invalid_api_key | No API key, an unknown or revoked key, or a login token instead of a key. |
| 403 | plan_limit_reached | Your plan’s document allowance is used up. |
| 404 | not_found, certificate_not_available, file_not_found | The document does not exist or is not yours (the same answer in both cases). |
| 409 | not_a_draft, not_sent, send_in_progress | The document is not in a state that allows this action. |
| 410 | document_deleted | The document has been deleted. |
| 413 / 415 | file_too_large, invalid_document, unsupported_media_type | The upload is too large or is not a PDF. |
| 429 | rate_limited, reminder_too_soon | Slow down; see the Retry-After header or the message. |
| 500 | internal_error, send_failed | Something went wrong on our side; try again. |
Rate limits and limits
- 120 requests per minute per API key. Every answer carries
X-RateLimit-LimitandX-RateLimit-Remaining; over the limit you get 429 with aRetry-Afterheader (seconds). - Reminders: once every 10 minutes per document.
- Uploads: PDF only, with the same page and size limits as the website (currently 100 pages and 5 MB), counted against your plan's document allowance.
- Up to 10 active API keys and 5 webhook endpoints per account.
Webhooks
Add an endpoint in Settings > Developers: an https:// address on the public internet and, optionally, the events you want (none ticked = all events). You get a signing secret starting with whsec_, shown once. Use Send test to receive a ping event.
| Event | When |
|---|---|
document.sent | The document was sent; signers were emailed. email = the sender. |
recipient.viewed | A signer opened the document. email = the signer. |
recipient.signed | A signer signed. email = the signer. |
document.completed | Every signer has signed; the signed PDF and the Certificate of Completion are ready. |
document.declined | A signer declined; the document is cancelled. detail = the reason they gave (may be null). |
document.cancelled | You cancelled the document. |
document.deleted | The document was deleted. |
document.expired | Reserved for document expiry (not sent yet). |
Each event is an HTTPS POST with a JSON body:
POST /your/webhook HTTP/1.1
Content-Type: application/json; charset=utf-8
User-Agent: PlusDocSign-Webhooks/1.0
PlusDocSign-Event-Id: evt_7Hk2...
PlusDocSign-Event-Type: recipient.signed
PlusDocSign-Signature: t=1764425002,v1=5f2b9c...e81a
{"id":"evt_7Hk2...","type":"recipient.signed","createdAt":"2026-11-29T15:10:02Z",
"data":{"documentId":"3f0c2b1e-8d5a-4c1f-9a77-2b6f0d6e9c10","email":"ada@example.com","detail":null}}- Answer with any 2xx status within 10 seconds. Do the real work afterwards (for example call
GET /documents/{id}or download the file). - Anything else (or no answer) is retried after about 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours, then given up. Redirects are not followed.
- An event can arrive more than once and events can arrive out of order: use
idto ignore repeats andcreatedAtto order them. - The last 30 days of deliveries, with their results, are listed under Recent deliveries in the settings.
Verifying webhook signatures
PlusDocSign-Signature is t=<unix seconds>,v1=<signature>, where the signature is the hex HMAC-SHA256 of t + "." + raw request body, keyed with your endpoint's whole secret (including whsec_). Compute it over the raw body exactly as received (before parsing JSON), compare in constant time, and reject timestamps older than 5 minutes.
Node.js
const crypto = require('crypto');
function verifyPlusDocSign(rawBody, header, secret, toleranceSeconds = 300) {
const parts = Object.fromEntries(header.split(',').map((p) => p.split('=', 2)));
const t = Number(parts.t);
if (!t || !parts.v1) return false;
if (Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false;
const expected = crypto.createHmac('sha256', secret).update(t + '.' + rawBody).digest('hex');
const a = Buffer.from(expected, 'hex');
const b = Buffer.from(parts.v1, 'hex');
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
// Express: keep the raw body for the check
app.post('/plusdocsign-webhook', express.raw({ type: 'application/json' }), (req, res) => {
const raw = req.body.toString('utf8');
if (!verifyPlusDocSign(raw, req.get('PlusDocSign-Signature') || '', process.env.PDS_WEBHOOK_SECRET)) {
return res.status(400).send('invalid signature');
}
const event = JSON.parse(raw);
// ... remember event.id, then handle event.type ...
res.sendStatus(204);
});Python
import hashlib, hmac, os, time
from flask import Flask, abort, request
def verify_plusdocsign(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
parts = dict(p.split("=", 1) for p in header.split(",") if "=" in p)
try:
t = int(parts["t"])
except (KeyError, ValueError):
return False
if abs(time.time() - t) > tolerance:
return False
expected = hmac.new(secret.encode(), str(t).encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts.get("v1", ""))
app = Flask(__name__)
@app.post("/plusdocsign-webhook")
def plusdocsign_webhook():
if not verify_plusdocsign(request.get_data(), request.headers.get("PlusDocSign-Signature", ""),
os.environ["PDS_WEBHOOK_SECRET"]):
abort(400)
event = request.get_json()
# ... remember event["id"], then handle event["type"] ...
return "", 204Test vector: secret whsec_test_secret, t 1700000000, body {"id":"evt_test","type":"ping"} gives v1=76e93d7667b36f8aab799377027b5ad5c17365edfaca34f11cc7c9f570f94a2a.
Send options
The optional options object of send has the same settings as the website's "Before you send" step. Unknown properties are refused with 400 invalid_options, so a typo is never silently ignored.
sequential:trueto invite signers one group at a time, lowestorderfirst (same number = same time).participants: people withemail,firstName,lastName,role(signer,viewer: can read the document now, orcc: gets the completed document) and, for signers,order(1–100) and an identity check:accessCode(4–50 characters you give the signer yourself),phone(a one-time code by SMS, when switched on) oridCheck: true(photo ID, when switched on).expiresAt(YYYY-MM-DD= end of that day UTC, or a date-time with offset) orexpiresInDays(1–365): after that, nobody can sign and the document becomesexpired.reminderEveryDays(1–30): automatic reminders to the signers whose turn it is (at most 10).
"options": {
"sequential": true,
"participants": [
{"email": "ada@example.com", "role": "signer", "order": 1, "accessCode": "4821"},
{"email": "alan@example.com", "role": "signer", "order": 2},
{"email": "legal@example.com", "firstName": "Legal", "role": "cc"}
],
"expiresInDays": 14,
"reminderEveryDays": 3
}Which identity checks are switched on: GET {base}/plusyoursoftech/api/public/v1/capabilities.
Questions? Use the contact form.