Quickstart
-
Create a test key. In your account, open Developers and create a test API key. Copy it.
-
Test the connection.
curl -H "Authorization: Bearer dmos_test_…" https://dmosign.com/v1/me
You should get your API key object back.
-
Send a document. Encode a PDF to base64 and send it for signature.
base64 -w0 letter.pdf | xargs -0 -I @ curl \ -H "Authorization: Bearer dmos_test_…" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d @- https://dmosign.com/v1/requests <<'EOF' { "document": { "name": "letter.pdf", "content_base64": "@" }, "recipients": [{"name": "Alice", "email": "alice@example.com"}], "fields": [{"recipient": 1, "type": "signature", "page": 1, "x": 0.2, "y": 0.5, "w": 0.3, "h": 0.05}] } EOF -
Check the status. Copy the request id from the response and fetch its status.
curl -H "Authorization: Bearer dmos_test_…" https://dmosign.com/v1/requests/{id}When test mode is on, you can get fresh signing links to test the signature flow yourself:
curl -H "Authorization: Bearer dmos_test_…" https://dmosign.com/v1/requests/{id}/signing_links
Authentication
Every API request must include an API key as a bearer token in the Authorization header:
Authorization: Bearer dmos_live_… or dmos_test_…
Key types
Test keys (dmos_test_*) send test documents that are not legally binding, emails are suppressed in production, and you get free signing links to test the flow yourself. Test requests do not count toward your quota.
Live keys (dmos_live_*) send real documents for signature. Live requests are metered and billed. A live key requires the workspace owner to confirm their authority when the key is created.
Keys are shown once when created. You can revoke them at any time. A key acts as the person who created it in the audit trail.
Managing keys
Only the workspace owner can create, list and revoke API keys. Go to Developers in your account. You can have up to 10 active keys per workspace. Each key includes its last 4 characters so you can identify it; the full key is never shown again.
Test mode
Test keys (dmos_test_*) follow the full signing flow end to end, but with these differences:
- No emails: In production, test requests do not trigger email invitations. In development with a test adapter, they go to a local outbox.
- Signing links: Call
GET /v1/requests/{id}/signing_linksto get fresh links for each recipient so you can sign them yourself. - Watermark: The signed PDF shows a diagonal grey watermark "TEST DOCUMENT - NOT LEGALLY BINDING" on every page. The certificate is labelled "Test signing certificate".
- Unmetered: Test requests do not count toward your quota and are free.
- Hidden: Test requests are hidden from the main Documents list in the web app, but you can open them by direct link (marked with a "Test" badge).
Requests
Create a request
POST /v1/requests
Send a PDF for signature. The request goes directly to the signer(s) if send is true (default).
Request body
| Field | Type | Default | Limits |
|---|---|---|---|
title | string | document name without .pdf | 1–200 characters |
message | string | none | 0–2000 characters |
reference | string | none | 0–120 characters; your own id (invoice number, etc.) returned as-is |
recipients | array | required | 1–10 signers: { name, email, role? }; name 1–120, email valid, role 0–60 characters |
signing_order | string | parallel | parallel or sequential |
expiry_days | integer | 14 | 7, 14, or 30 |
reminders | object | none | { every_days: null|1|2|3|7, warn_before_expiry: bool } |
send | boolean | true | send immediately, or create a draft to send later |
document | object | required unless template_id | { name, content_base64 }; name 0–255 chars, must end with .pdf or be given one; content_base64 0–25 MB |
template_id | string | required unless document | id from GET /v1/templates |
fields | array | auto-detected from text tags | 0–300 fields: { recipient|role, type, page, x, y, w, h, required?, label? } |
text_tags | boolean | false | auto-detect fields from {{sign}} tags in the PDF |
Response object
{
"object": "request",
"id": "0b6c1e8e-3f1a-4c55-9a8e-6a1f2d3c4b5a",
"test": true,
"title": "…",
"message": "…",
"reference": "…",
"status": "sent",
"status_text": "Sent, waiting for signature",
"signing_order": "parallel",
"expiry_days": 14,
"created_at": "2026-10-07T12:34:56.789Z",
"sent_at": "2026-10-07T12:34:57.000Z",
"expires_at": "2026-10-21T12:34:56.789Z",
"completed_at": null,
"declined_at": null,
"cancelled_at": null,
"sender": {
"name": "Your Name",
"email": "you@example.com"
},
"recipients": [
{
"id": "5d2a9c71-8e44-4b0f-b1a3-7c6e9f0d2e18",
"seq": 1,
"name": "Alice",
"email": "alice@example.com",
"status": "sent",
"status_text": "Invited",
"viewed_at": null,
"signed_at": null,
"declined_at": null,
"decline_reason": null
}
],
"fields": [
{
"id": "9f3e7b20-1c5d-4e8a-a6b4-2d8c0f1e3a77",
"recipient_id": "5d2a9c71-8e44-4b0f-b1a3-7c6e9f0d2e18",
"type": "signature",
"page": 1,
"x": 0.1,
"y": 0.5,
"w": 0.3,
"h": 0.05,
"required": true,
"label": null
}
],
"files": {
"signed_pdf": "/v1/requests/{id}/signed.pdf",
"certificate_pdf": "/v1/requests/{id}/certificate.pdf",
"original_pdf": "/v1/requests/{id}/original.pdf"
},
"fingerprints": {
"original_sha256": "…",
"signed_sha256": null,
"certificate_sha256": null
},
"app_url": "https://dmosign.com/#/sign/req_…"
}
List requests
GET /v1/requests
| Query | Type | Default |
|---|---|---|
status | string | all |
limit | integer | 50 |
offset | integer | 0 |
Returns { object: "list", data: […], has_more, limit, offset }
Get a request
GET /v1/requests/{id}
Returns the full request object (same shape as the POST response).
Send a draft
POST /v1/requests/{id}/send
Send a request that was created with send: false.
Cancel a request
POST /v1/requests/{id}/cancel
Cancel a request that hasn't been completed or declined.
Body: { "reason": "string" } (optional, shown to signers)
Remind signers
POST /v1/requests/{id}/remind
Send a reminder email to signers who haven't signed yet. Returns { reminded, skipped: [{ recipient_id, code }] }
Get signing links (test only)
GET /v1/requests/{id}/signing_links
Test requests only. Returns fresh signing links for each recipient so you can test the flow yourself.
Returns { object: "signing_links", request_id, links: [{ recipient_id, url }] }
Usage and account
GET /v1/usage - this month's API package, requests used, included and left, purchased requests left, storage.
GET /v1/me - the key you are using (mode, name, last four characters) and its business.
Download files
GET /v1/requests/{id}/signed.pdf - the signed document (404 not_found until the request is completed)
GET /v1/requests/{id}/certificate.pdf - the signing certificate (404 not_found until the request is completed)
GET /v1/requests/{id}/original.pdf - the original document
Placing fields
Signature fields are specified as fractions of the page, measured from the top-left: x, y, w, h are all in 0..1.
Text tags
The easiest way is to embed tags in your PDF as white text. Set text_tags: true when creating the request, and we'll find the tags and create fields automatically.
Tags are case-insensitive and follow the pattern {{name}}, {{name:N}}, or {{name:N:Label}}, where N is the 1-based recipient index (default 1) and Label is shown in the app.
| Tag | Field type | Box size |
|---|---|---|
{{sign}} | Signature | max(tag width, 150 pt) × max(tag height × 2.2, 36 pt) |
{{sign:2}} | Signature for recipient 2 | same |
{{initials}} | Initials | max(tag width, 60 pt) × max(tag height × 2.2, 30 pt) |
{{date}} | Date signed | max(tag width, 120 pt) × max(tag height × 1.4, 14 pt) |
{{name}} | Full name | max(tag width, 120 pt) × max(tag height × 1.4, 14 pt) |
{{text:1:Business number}} | Text field for recipient 1, label "Business number" | max(tag width, 120 pt) × max(tag height × 1.4, 14 pt) |
{{check}} | Checkbox | 14 × 14 pt at tag top-left |
Write tags in white text (colour is ignored during extraction). Tags in scanned images are not found. You can place multiple signatures on the same page using different tags or recipient indices.
Explicit fields
If you prefer not to embed tags, specify fields explicitly in the request:
{
"fields": [
{
"recipient": 1,
"type": "signature",
"page": 1,
"x": 0.1,
"y": 0.5,
"w": 0.3,
"h": 0.05,
"required": true,
"label": null
}
]
}
Field types
signature, initials, date_signed, full_name, text, checkbox
Webhooks
Get notified when requests are sent, viewed, signed, completed, declined, expired or cancelled. Set up webhooks in the Developers section of your account.
Endpoints and events
| Package | Endpoints |
|---|---|
| Sandbox | 1 |
| API Starter | 1 |
| API Business | 5 |
| API Scale | 5 |
Events: request.sent, request.viewed, recipient.signed, request.completed, request.declined, request.expired, request.cancelled
Payload
{
"id": "c41d8a6e-72b9-4f03-8e5c-1a9b7d3f6e20",
"object": "event",
"type": "request.sent",
"created_at": "2026-10-07T12:34:56.789Z",
"test": false,
"data": {
"request": { … },
"recipient": { … } or null
}
}
Headers
Every webhook includes these headers:
| Header | Description |
|---|---|
Content-Type | application/json |
User-Agent | DMO-Sign-Webhooks/1 |
DMO-Event | the event type (request.sent, etc.) |
DMO-Delivery | the delivery id |
DMO-Signature | t=<unix-seconds>,v1=<hex-hmac> |
Verifying signatures
Node.js:
const crypto = require('crypto');
const { 'dmo-signature': sig } = req.headers;
const [timestamp, signature] = sig.split(',').map(s => s.split('=')[1]);
const body = req.rawBody; // the exact body bytes
const hmac = crypto.createHmac('sha256', secret).update(`${timestamp}.${body}`).digest('hex');
if (!crypto.timingSafeEqual(Buffer.from(hmac), Buffer.from(signature))) {
return res.status(401).send('Invalid signature');
}
Python:
import hmac, hashlib
sig = request.headers['dmo-signature']
timestamp, signature = dict(s.split('=') for s in sig.split(',')).values()
body = request.get_data()
hmac_obj = hmac.new(secret.encode(), f'{timestamp}.{body.decode()}'.encode(), hashlib.sha256)
if not hmac.compare_digest(hmac_obj.hexdigest(), signature):
return 'Invalid signature', 401
Retries and timeouts
We expect a 2xx response within 10 seconds. If we don't get one, we retry with increasing delays: immediately, then +1 minute, +5 minutes, +30 minutes, +2 hours, +12 hours, then mark the delivery failed.
Managing webhooks
POST /v1/webhooks - Add an endpoint (url, optional events and description). Returns the endpoint and its signing secret, shown once.
GET /v1/webhooks - List your endpoints.
GET /v1/webhooks/{id} – Get endpoint details.
PATCH /v1/webhooks/{id} – Update an endpoint (url, events, description, or enabled status).
DELETE /v1/webhooks/{id} – Delete an endpoint.
POST /v1/webhooks/{id}/rotate_secret – Rotate the signing secret. Returns the new secret (shown once).
POST /v1/webhooks/{id}/ping – Send a test event to verify the endpoint works.
GET /v1/webhooks/{id}/deliveries – View delivery history (query limit up to 200). Returns a list of deliveries with their state (queued, delivered, failed), attempts, error details, and timestamps.
Idempotency and rate limits
Idempotency-Key
Every POST request must include a unique idempotency key. Send the same key with the same body within 24 hours, and you'll get the same response without creating a duplicate. If the body differs, you get a 409 error.
Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000
Rate limits
Your API key has a rate limit based on your package:
| Package | Requests/minute |
|---|---|
| Test keys | 30 |
| API Starter | 60 |
| API Business | 120 |
| API Scale | 300 |
When you hit the limit, we return a 429 response:
{
"error": {
"code": "rate_limited",
"message": "…"
}
}
Headers tell you your current state:
| Header | Description |
|---|---|
RateLimit-Limit | your rate limit (requests/minute) |
RateLimit-Remaining | requests left this minute |
RateLimit-Reset | seconds until the next refill |
Retry-After | seconds to wait before retrying |
Errors
All errors return a JSON object with a code and message:
{
"error": {
"code": "validation_failed",
"message": "…",
"problems": [
{ "path": "recipients", "issue": "at least 1 required" }
]
}
}
Common error codes
| Code | Status | Description |
|---|---|---|
unauthorized | 401 | Authorization header missing or format is wrong |
invalid_api_key | 401 | API key is invalid or unrecognized |
key_revoked | 401 | This API key has been revoked |
forbidden | 403 | You don't have permission for this action |
authority_outdated | 403 | The sender's authority has changed. Make a new live API key in Developers |
not_found | 404 | We could not find that request or resource |
bad_json | 400 | Request body is not valid JSON |
validation_failed | 400 | Request is invalid (details in problems array) |
document_required | 400 | Either document or template_id is required |
document_invalid | 400 | Document could not be read (corrupt or unsupported format) |
recipients_required | 400 | At least one recipient is required |
too_many_recipients | 400 | Too many recipients (max 10) |
too_many_fields | 400 | Too many signature fields (max 300) |
not_ready | 400 | Request is not ready to send (missing fields or other issues; details in problems) |
test_only | 400 | Signing links are only available for test requests |
template_not_found | 404 | Template was not found |
too_big | 413 | Document exceeds 25 MB |
package_required | 402 | Live requests need an API package (Starter, Business, or Scale). This workspace is on Sandbox (test keys only) |
quota_exceeded | 402 | This month's API requests and packs are used up |
storage_full | 402 | Not enough storage for this upload |
already_sent | 409 | Request is already sent and cannot be modified |
idempotency_conflict | 409 | Idempotency-Key matches a previous request with a different body |
idempotency_in_progress | 409 | A request with this Idempotency-Key is still being processed |
rate_limited | 429 | Too many requests for this API key. Check RateLimit-Remaining and Retry-After headers |
busy | 503 | Service is temporarily busy. Try again |
malware | 400 | Document was detected as malware and rejected |
internal | 500 | Something went wrong on our side. Try again; if it keeps happening, email support with the request id |
Packages
API packages are separate from web sender seats. Choose the package that fits your volume.
Pricing
| Package | Price a month | Included requests | Extra requests | Storage |
|---|---|---|---|---|
| Sandbox | Free | 0 | n/a | 250 MB |
| Starter | $39 | 50 | 100 for $90 (prepaid pack) | 5 GB |
| Business | $149 | 250 | 100 for $70 (prepaid pack) | 25 GB |
| Scale | $349 | 750 | 100 for $50 (prepaid pack) | 100 GB |
Yearly: ten months for the price of twelve ($390, $1,490, $3,490). Prices in US dollars, before tax.
At the limit
When the month's requests and your packs are used up, live sends answer 402 quota_exceeded until you buy a pack, move to a bigger package or the month renews. Test keys are never metered.
Getting started
Sandbox: Free testing with test keys only. Live requests are blocked.
API Starter: Self-serve. Support is this documentation plus email help, up to about 10 minutes a month; optional $99 guided setup available. Create a live key and start sending.
API Business and Scale: Priority email support. Business and Scale extras such as custom branding, white-label, a custom email domain, bulk send and embedded signing are coming later and are not available yet.
Buy a package
Choose a package. Each button opens your Developers screen with that package selected.
Buy Starter Buy Business Buy Scale
You sign in with your DMO Account; the package is paid through DMO Account and shows on your Developers screen. Owners only.
Limits
| Resource | Limit |
|---|---|
| Document size | 25 MB |
| Document pages | 200 |
| Signers per request | 10 |
| Signature fields per request | 300 |
| API keys per workspace | 10 active |
| Webhook endpoints per workspace | 1–5 (depends on package) |
| Requests per minute | 30–300 (depends on key mode and package) |
| Daily email invitations | 200 per workspace |
| Idempotency key retention | 24 hours |