API, webhooks & MCP for AI agents
Let your own tools — or an AI agent such as Claude, ChatGPT or Cursor — prepare and send signature requests, follow their status and fetch the signed PDF with its audit trail. The API follows the same rules as the app: plan limits, signer checks and the hash-chained audit trail apply in the same way.
| REST API | https://signround.com/api/v1 · OpenAPI 3.1 |
| MCP server | https://signround.com/mcp (Streamable HTTP) |
| Authentication | Authorization: Bearer sr_live_… |
| Plan | Business |
| Rate limit | 120 requests per minute per key, 300 per account (REST and MCP together) |
1. Create an API key
In the app, open Settings → API & AI agents, give the key a name (for example the agent that will use it) and choose its permissions:
| Permission | Allows |
|---|---|
| Read | list and read documents, signers, templates, the audit trail, download the PDFs |
| Write | create and change drafts, send, remind, cancel and delete documents, manage webhooks |
The key is shown once. We store only its SHA-256 fingerprint and cannot show it again; if it is lost, revoke it and create a new one. Revoking takes effect on the next request. An account can have 10 active keys. Without the Business plan the API answers 402 plan_required; your keys are kept and work again after an upgrade.
Creating your first key requires accepting the terms for API, webhooks and AI agents (Terms section 7a).
Treat a key like a password: it acts in your name. Keep it out of code repositories and chat transcripts.
2. Connect your AI agent (MCP)
The MCP server gives an AI agent tools such as create_document, send_document, get_document, remind_signers, void_document, get_signed_pdf and get_audit_trail. The agent only sees the tools its key may use.
Claude Code
claude mcp add --transport http signround https://signround.com/mcp \
--header "Authorization: Bearer sr_live_…"
Cursor, VS Code and other clients with a JSON configuration
{ "mcpServers": { "signround": { "url": "https://signround.com/mcp", "headers": { "Authorization": "Bearer sr_live_…" } } } }
Claude Desktop (through the mcp-remote bridge)
{ "mcpServers": { "signround": { "command": "npx", "args": ["mcp-remote", "https://signround.com/mcp", "--header", "Authorization: Bearer sr_live_…"] } } }
Gemini CLI (~/.gemini/settings.json)
{ "mcpServers": { "signround": { "httpUrl": "https://signround.com/mcp", "headers": { "Authorization": "Bearer sr_live_…" } } } }
Then ask, for example: "Prepare contract.pdf for signature by Anna Example (anna@example.com) with a signature page, show me the draft, and send it when I say so."
Sending is always a separate, explicit step. create_document only creates a draft. send_document emails the signers and requires confirm: true — an agent should only call it when you asked it to send.
Clients that only connect through an OAuth flow without a custom header option cannot connect yet.
3. Quick start with curl
Create a draft from a PDF and let signround add a signing page (a signature, name and date field per signer):
curl https://signround.com/api/v1/documents \
-H "Authorization: Bearer $SIGNROUND_KEY" \
-H "Idempotency-Key: contract-2026-11-01" \
-F file=@contract.pdf \
-F 'metadata={"title":"Service agreement","signature_page":true,"signers":[{"name":"Anna Example","email":"anna@example.com","locale":"en"}]}'
Send it (this emails the signers):
curl -X POST https://signround.com/api/v1/documents/<id>/send \
-H "Authorization: Bearer $SIGNROUND_KEY" -H "Content-Type: application/json" \
-d '{"confirm": true, "message": "Please sign by Friday."}'
Check the status, then download the sealed PDF and the audit trail once the status is completed:
curl https://signround.com/api/v1/documents/<id> -H "Authorization: Bearer $SIGNROUND_KEY"
curl -o signed.pdf https://signround.com/api/v1/documents/<id>/pdf -H "Authorization: Bearer $SIGNROUND_KEY"
curl -o audit.pdf "https://signround.com/api/v1/documents/<id>/audit?format=pdf" -H "Authorization: Bearer $SIGNROUND_KEY"
4. Endpoints
| Method and path | Permission | What it does |
|---|---|---|
GET /me |
read | Account, plan and key permissions |
GET /documents |
read | List documents, newest first (status, search, limit 1–100, cursor) |
POST /documents |
write | Create a draft from a PDF or a template; send: true sends right away |
GET /documents/{id} |
read | Document with signers and fields |
PATCH /documents/{id} |
write | Change a draft: title, signers, fields, signing order, message, expiry, reminders, cc |
POST /documents/{id}/send |
write | Email the signers; needs "confirm": true |
POST /documents/{id}/remind |
write | Remind pending signers (once per hour per document) |
POST /documents/{id}/void |
write | Cancel a draft or a request out for signing (reason optional) |
DELETE /documents/{id} |
write | Delete a draft or a voided, declined or expired document (completed documents only in the app) |
GET /documents/{id}/pdf |
read | The sealed signed PDF (?which=original for the upload) |
GET /documents/{id}/audit |
read | Audit trail as json (default), pdf or csv |
GET /templates |
read | Templates with their signer roles |
GET /webhooks, POST /webhooks, DELETE /webhooks/{id}, POST /webhooks/{id}/test, GET /webhooks/deliveries |
read / write | Webhook endpoints and the delivery log (test: 10 per hour and endpoint) |
Creating a document. Send the PDF as multipart field file (with the other fields as a JSON string in metadata) or as JSON {"file": {"name": "…", "content_base64": "…"}}. Request bodies are limited to 6 MB; upload larger PDFs (up to 25 MB) in the app. Instead of a file you can pass template_id and one signer per template role, in role order.
Message, title and signer names reach signers by email: plain text only, the message at most 1000 characters, no links or web addresses (invalid_message, invalid_title, invalid_signers). The sender shown to signers is always your account name or company.
Signers are {name, email, locale} (locale: en, de or tr — language of their emails and signing page), at most 20, each with a different email. Documents you sign yourself — or that carry your saved signature — have to be sent from the app, where you confirm your own signature; the API answers owner_signer_unsupported.
Fields are {signer, type, page, x, y, w, h, required, label, auto_date}: signer is the 0-based signer index, type one of signature, initials, date, text, checkbox, name, email, coordinates are fractions (0–1) of the page with the origin at the top left. Every signer needs a signature field. If you cannot see the PDF, use "signature_page": true.
Pagination. Lists return {data, has_more, next_cursor}; pass cursor=<next_cursor> for the next page.
Idempotency. Send an Idempotency-Key header with any POST. Within 24 hours a retry with the same key and the same body gets the stored response (header Idempotent-Replayed: true) instead of creating or sending twice. The same key with a different body gets 422.
5. Webhooks
Add an https endpoint in Settings or with POST /webhooks and choose events:
| Event | When |
|---|---|
document.sent |
the request was sent |
signer.signed |
one signer signed (data.signer says who) |
document.completed |
everyone signed; the sealed PDF is ready |
document.declined |
a signer declined (with their reason) |
document.expired |
the expiry date passed |
document.voided |
the request was cancelled |
Each delivery is a POST with {id, type, api_version, created_at, data: {document, signer?}} and the headers X-Signround-Event, X-Signround-Delivery and X-Signround-Signature: t=<unix seconds>,v1=<hex>, where v1 = HMAC-SHA256(secret, "<t>.<raw body>"). The secret (whsec_…) is shown once when you add the endpoint. Verify it over the raw body, compare in constant time and reject a t older than 5 minutes:
import crypto from "node:crypto";
export function verifySignround(secret, header, rawBody) {
const p = Object.fromEntries(header.split(",").map((kv) => kv.split("=", 2)));
if (!p.t || !p.v1 || Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
const expected = crypto.createHmac("sha256", secret).update(`${p.t}.${rawBody}`).digest("hex");
return p.v1.length === expected.length && crypto.timingSafeEqual(Buffer.from(p.v1), Buffer.from(expected));
}
import hmac, hashlib, time
def verify_signround(secret: str, header: str, raw_body: bytes) -> bool:
p = dict(kv.split("=", 1) for kv in header.split(","))
if abs(time.time() - int(p.get("t", 0))) > 300:
return False
expected = hmac.new(secret.encode(), p["t"].encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(p.get("v1", ""), expected)
Answer with any 2xx within 5 seconds. Redirects are not followed. Failed deliveries are retried after 1 min, 5 min, 30 min, 2 h and 12 h, with the identical body — deduplicate on id. Endpoints must be public https URLs on port 443 (no private or local addresses). The delivery log (status codes only) is kept for 30 days.
6. Errors
Errors are JSON: {"error": "<code>", "message": "…"}.
| Status | Meaning |
|---|---|
| 400 | The request is wrong; message says why (confirmation_required, invalid_signers, invalid_fields, invalid_file, …) |
| 401 | Missing, malformed or revoked key |
| 402 | plan_required (API needs Business) or plan_limit |
| 403 | insufficient_scope or account_unavailable |
| 404 | No such object in your account (objects of other accounts get the same answer) |
| 409 | Wrong state, e.g. invalid_state (not a draft) or not_completed |
| 413 | Body over 6 MB or PDF over 25 MB |
| 422 | Idempotency-Key reused with a different request |
| 429 | rate_limited, send_limit (100 documents sent through the API per 24 h), email_limit (500 emails to signers caused through the API per 24 h, cancelled or deleted documents included), reminder_too_soon — see Retry-After |
Authenticated responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset.
7. Legal notes
- Your requests. Requests you start through the API, webhooks or an AI agent are your requests, just like documents sent in the app. You are responsible for being allowed to send the document to the named people and for everything an agent or service does with your key. Protect your keys and revoke them immediately if you suspect misuse.
- Sending requires confirmation. Sending requires the confirm parameter. This is a technical switch, not a human confirmation: set up your agent so that a person confirms recipients and content before it sends.
- Signers. Signers open their personal link as usual, agree to sign electronically and sign. The result is a simple electronic signature (eIDAS Art. 25(1)). Whether this form is enough depends on the contract; some need written form, a qualified signature or a notary. signround and the API do not give legal advice.
- Signature page. The optional appended signature page becomes part of the document, including the ‘Original SHA-256’ in the audit trail. It can shift page numbers and cross-references in the document.
- Audit trail. For every event of a request started through the API or MCP, the log records ‘via: api’ or ‘via: mcp’ and the short ID of the key (for example sr_live_abc123, never the key itself). signround stores the caller's IP address and user agent and provides them to the account owner in the export (JSON/CSV); the PDF audit trail that all parties receive does not show them for such events. The log does not show which person at the sender caused the call.
- AI providers. If you use an AI agent, content of your documents reaches its provider. You conclude the necessary agreements yourself (data processing, third-country transfers, confidentiality, and for professional secrecy § 203 German Criminal Code). signround is not a sub-processor of that provider and not a party to your agreement with it.
- Webhooks. Webhook messages contain names, email addresses, status and, for a decline, the reason. Use only endpoints you control and are responsible for under data protection law. We retry delivery for about 15 hours and do not guarantee delivery.
- Limits. At most 100 documents sent through the API and 500 emails to signers triggered through the API per 24 hours per account, 300 requests per minute, one reminder per hour per document.
- See Terms section 7a, Privacy Policy and DPA.
8. Not included yet
OAuth sign-in for MCP clients, embedded signing, bulk send, documents you sign yourself, uploads over 6 MB through the API.