DMO Sign API

Send PDFs for signature from your own software. Get a webhook when they are signed. Fetch the signed PDF and its certificate.

Quickstart

  1. Create a test key. In your account, open Developers and create a test API key. Copy it.

  2. Test the connection.

    curl -H "Authorization: Bearer dmos_test_…" https://dmosign.com/v1/me

    You should get your API key object back.

  3. 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
  4. 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_links to 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

FieldTypeDefaultLimits
titlestringdocument name without .pdf1–200 characters
messagestringnone0–2000 characters
referencestringnone0–120 characters; your own id (invoice number, etc.) returned as-is
recipientsarrayrequired1–10 signers: { name, email, role? }; name 1–120, email valid, role 0–60 characters
signing_orderstringparallelparallel or sequential
expiry_daysinteger147, 14, or 30
remindersobjectnone{ every_days: null|1|2|3|7, warn_before_expiry: bool }
sendbooleantruesend immediately, or create a draft to send later
documentobjectrequired unless template_id{ name, content_base64 }; name 0–255 chars, must end with .pdf or be given one; content_base64 0–25 MB
template_idstringrequired unless documentid from GET /v1/templates
fieldsarrayauto-detected from text tags0–300 fields: { recipient|role, type, page, x, y, w, h, required?, label? }
text_tagsbooleanfalseauto-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

QueryTypeDefault
statusstringall
limitinteger50
offsetinteger0

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.

TagField typeBox size
{{sign}}Signaturemax(tag width, 150 pt) × max(tag height × 2.2, 36 pt)
{{sign:2}}Signature for recipient 2same
{{initials}}Initialsmax(tag width, 60 pt) × max(tag height × 2.2, 30 pt)
{{date}}Date signedmax(tag width, 120 pt) × max(tag height × 1.4, 14 pt)
{{name}}Full namemax(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}}Checkbox14 × 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

PackageEndpoints
Sandbox1
API Starter1
API Business5
API Scale5

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:

HeaderDescription
Content-Typeapplication/json
User-AgentDMO-Sign-Webhooks/1
DMO-Eventthe event type (request.sent, etc.)
DMO-Deliverythe delivery id
DMO-Signaturet=<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:

PackageRequests/minute
Test keys30
API Starter60
API Business120
API Scale300

When you hit the limit, we return a 429 response:

{
  "error": {
    "code": "rate_limited",
    "message": "…"
  }
}

Headers tell you your current state:

HeaderDescription
RateLimit-Limityour rate limit (requests/minute)
RateLimit-Remainingrequests left this minute
RateLimit-Resetseconds until the next refill
Retry-Afterseconds 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

CodeStatusDescription
unauthorized401Authorization header missing or format is wrong
invalid_api_key401API key is invalid or unrecognized
key_revoked401This API key has been revoked
forbidden403You don't have permission for this action
authority_outdated403The sender's authority has changed. Make a new live API key in Developers
not_found404We could not find that request or resource
bad_json400Request body is not valid JSON
validation_failed400Request is invalid (details in problems array)
document_required400Either document or template_id is required
document_invalid400Document could not be read (corrupt or unsupported format)
recipients_required400At least one recipient is required
too_many_recipients400Too many recipients (max 10)
too_many_fields400Too many signature fields (max 300)
not_ready400Request is not ready to send (missing fields or other issues; details in problems)
test_only400Signing links are only available for test requests
template_not_found404Template was not found
too_big413Document exceeds 25 MB
package_required402Live requests need an API package (Starter, Business, or Scale). This workspace is on Sandbox (test keys only)
quota_exceeded402This month's API requests and packs are used up
storage_full402Not enough storage for this upload
already_sent409Request is already sent and cannot be modified
idempotency_conflict409Idempotency-Key matches a previous request with a different body
idempotency_in_progress409A request with this Idempotency-Key is still being processed
rate_limited429Too many requests for this API key. Check RateLimit-Remaining and Retry-After headers
busy503Service is temporarily busy. Try again
malware400Document was detected as malware and rejected
internal500Something 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

PackagePrice a monthIncluded requestsExtra requestsStorage
SandboxFree0n/a250 MB
Starter$3950100 for $90 (prepaid pack)5 GB
Business$149250100 for $70 (prepaid pack)25 GB
Scale$349750100 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

ResourceLimit
Document size25 MB
Document pages200
Signers per request10
Signature fields per request300
API keys per workspace10 active
Webhook endpoints per workspace1–5 (depends on package)
Requests per minute30–300 (depends on key mode and package)
Daily email invitations200 per workspace
Idempotency key retention24 hours