Skip to content
Docs
Ask the assistant
Sign inCreate a free account
Get startedMark and signCertificatesDocumentsCheck and recoverComply and proveAPI referencePricing and data

Sign documents

  • Overview
    • What a signed PDF carries
    • Set it up
    • How PDF readers show it
    • What widar keeps
    • Price
    • Read document signing
    • Change document signing
    • Sign many PDFs
    • Read a batch
    • Download a batch
    • List the signing log
    • Confirm document signing
    • Export the signing log
    • Read a signed document
    • List batches
    • Errors
    • Events
  • Sign PDFs
  • Organisation certificates
  • Signing log
  • Check a PDF

For agents

  • agent-setup.md
  • llms.txt
  • llms-full.txt
  1. Home
  2. Docs
  3. Sign your company's documents

DocumentsSign documents

Sign your company's documents

Prove every invoice, receipt and statement is really yours. widar signs the PDFs your company issues with a PDF signature, a Content Credential that names your company, a timestamp and an invisible mark, and anyone can check them for free.

Updated December 3, 2026

Ask about this pageRead this page as Markdown

What a signed PDF carries

A signed PDF
LayerWhat it shows
The PDF signatureSigned by your company, as widar validated it, and whether the document has changed since. Issued under widar Document Signing CA G1.
The Content CredentialA C2PA credential naming your company and its domain, with your identity validated by widar.
The timestampFrom widar’s RFC 3161 timestamp authority: the document existed by that time.
The markInvisible, on the pages. It ties the file to its signing record.
Your verify pageOne page per document issuer, such as widar.com/verify/lumen-labs-invoices, where anyone checks a PDF for free, with no account.

A check shows each layer as its own finding, never one verdict: who signed, when, and whether the file changed. If you sign every PDF you issue, a document in your name without your signature is one your company did not sign through widar, and your verify page says so.

Set it up

  1. Validate your legal entity and its domain. The domain is written in your certificates.
  2. Create a system of kind document_issuer, such as "Lumen Labs invoices". It gets its own verify page.
  3. Turn document signing on, below. It waits for your company’s representative and for an owner or admin to confirm with two-factor authentication: an agent can ask, a person confirms.
  4. widar issues your organisation certificates on its own, free, and renews them every 30 days.
  5. Sign: one PDF per call, a folder as a batch, or inside your own servers with the sidecar.
  6. Publish your signing statement, so readers know you sign every PDF you issue.

How PDF readers show it

Adobe Acrobat and Reader do not yet recognise widar as a trusted issuer, so they show the signature’s validity as unknown; they still show whether the document has changed since it was signed. Your verify page shows the validated signer. Other C2PA validators may show your company’s identity as not trusted, since they do not read widar’s roots.

What a widar signature is. widar’s PDF signatures and timestamps are not qualified electronic signatures, seals or time stamps under eIDAS, and widar is not a qualified trust service provider. A widar signature can be one of the controls your business uses to show that an invoice came from you and has not changed since. Whether it is enough depends on your country’s rules and your own controls. This is not tax or legal advice.

What widar keeps

widar keeps no documents after signing. A single signing call keeps nothing of the file; a batch’s files and results are deleted within 24 hours. widar keeps each document’s hash, the signatures, the certificates and the signing log. You keep your signed PDFs in your own archive, for as long as your rules require.

Price

Charged per document signed, from your plan’s included count and then per document. The organisation certificates, their renewals and every check on your verify page are free. See Pricing.

A document issuer
{
  "id": "sys_6Dq2xLr9WnKe",
  "object": "system",
  "kind": "document_issuer",
  "mode": "live",
  "name": "Lumen Labs invoices",
  "description": "Invoices, credit notes and monthly statements Lumen Labs issues to its API customers.",
  "state": "live",
  "domain": "lumenlabs.example",
  "verify_page_slug": "lumen-labs-invoices",
  "certificate_ids": {
    "organisation_identity": "crt_8Ty3pNc6RvLq",
    "pdf_signing": "crt_2Hs9mWd4QxBe"
  },
  "created_at": "2026-09-21T10:05:00Z"
}

Read document signing

Reads only

GET/v1/settings/documents

Whether the company signs its PDFs, with its document issuer, its confirmations, its organisation certificates, the PDF signature level and the verify link.

Who may
Owner, Admin, Compliance, Developer and Viewer
CLI
widar settings documents get
MCP tool
settings_documents_get
Returns
Document signing: its state (off, waiting, on, suspended), the issuer, the confirmations, the certificates, the signature level, the verify link and the signing statement.

No parameters.

curl -X GET https://api.widar.com/v1/settings/documents \
  -H "Authorization: Bearer $WIDAR_API_KEY"

GET /v1/settings/documents

Response, 200 OK
{
  "object": "document_settings",
  "system_id": "sys_6Dq2xLr9WnKe",
  "enabled": true,
  "suspended": false,
  "pades_level": "B-LT",
  "verify_link": true,
  "confirmations": {
    "representative_at": "2026-09-21T10:40:00Z",
    "admin_at": "2026-09-21T10:52:00Z",
    "admin": "Joris van Dijk"
  },
  "updated_at": "2026-09-21T10:52:00Z"
}

Change document signing

Changes data

PATCH/v1/settings/documents

Turn document signing on, suspend it at once or resume it, and set the PDF signature level, the verify link and the signing statement.

Who may
Owner and Admin
CLI
widar settings documents update [--enabled <true|false>] [--issuer-name <name>] [--pades-level <B-T|B-LT>] [--verify-link <true|false>] [--suspended <true|false>] [--signing-statement <text|none>] [--signing-statement-since <date|none>]
MCP tool
settings_documents_update
Returns
Document signing, changed.

Parameters

  • enabledboolean

    Document signing on or off.

  • issuer_namestring

    the document issuer’s name, when turning signing on creates it At most 80 characters.

  • pades_levelenum

    The PDF signature’s level: B-T, the signature with widar’s timestamp, or B-LT, which also stores the data needed to check it in the document.

  • verify_linkboolean

    Places a small visible link to the company’s verify page on the first page.

  • suspendedboolean

    Stops every signing at once, by any path, until set back. Calls answer document_signing_suspended.

  • signing_statementstring

    The signing statement. At most 280 characters. null clears it.

  • signing_statement_sincestring

    The signing statement since. null clears it.

curl -X PATCH https://api.widar.com/v1/settings/documents \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "suspended": true
  }'

PATCH /v1/settings/documents

Sign many PDFs

Changes data

POST/v1/marking_batches

Sign many PDFs for one document issuer in one batch: one result per file, a refused file with its reason, and a one-time download.

Who may
Owner, Admin, Compliance and Developer
CLI
widar marking-batches create <file.pdf ...> --system-id <sys_...> [--mode <live|test>]
MCP tool
marking_batches_create
Returns
The batch (mbt_), with one result per file: signed, with its record, or refused, with its reason.

Parameters

  • system_idid (sys_)Required

    The system’s id.

  • filesarray of objectRequired

    The files. At most 1,000 items.

  • modeenum

    live or test; the call’s own mode when left out One of live, test.

curl -X POST https://api.widar.com/v1/marking_batches \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "system_id": "sys_4kT9qWm2RbXe",
    "files": "<files>"
  }'

POST /v1/marking_batches

Read a batch

Reads only

GET/v1/marking_batches/{marking_batch_id}

One batch with one result per file: signed, refused with its reason, or waiting its turn.

Who may
Owner, Admin, Compliance, Developer and Viewer
CLI
widar marking-batches get <marking_batch_id>
MCP tool
marking_batches_get
Returns
The batch, with one result per file.

Parameters

  • marking_batch_idid (mbt_)Required

    The marking batch’s id. In the path.

curl -X GET https://api.widar.com/v1/marking_batches/mbt_7Kc4rTq1ZpWn \
  -H "Authorization: Bearer $WIDAR_API_KEY"

GET /v1/marking_batches/{marking_batch_id}

Response, 200 OK
{
  "id": "mbt_7Kc4rTq1ZpWn",
  "object": "marking_batch",
  "mode": "live",
  "system_id": "sys_6Dq2xLr9WnKe",
  "state": "completed",
  "files_total": 312,
  "files_signed": 311,
  "files_refused": 1,
  "results": [
    {
      "upload_id": "upl_2Qm8vTx4KcLs",
      "file_name": "Statement-Corvane-Studios-2026-11.pdf",
      "outcome": "signed",
      "mark_record_id": "mrk_6Hn3pRw9TcXa"
    },
    {
      "upload_id": "upl_7Rd1kLq5WzNe",
      "file_name": "Statement-Fjordline-2026-11.pdf",
      "outcome": "refused",
      "error": "pdf_encrypted"
    }
  ],
  "created_at": "2026-12-01T05:00:00Z",
  "created_by": "Billing run (API key)",
  "completed_at": "2026-12-01T05:06:00Z",
  "download_expires_at": "2026-12-02T05:06:00Z"
}

Download a batch

Reads only

GET/v1/marking_batches/{marking_batch_id}/download

The signed PDFs of a batch, once: a ZIP of every signed file, or one file by its place in the batch.

Who may
Owner, Admin, Compliance and Developer
CLI
widar marking-batches download <marking_batch_id> [--file-index <n>] [--output <file>]
MCP tool
marking_batches_download
Returns
The signed PDF, or a ZIP of every signed PDF of the batch. Each can be downloaded once; widar keeps no copy after.

Parameters

  • marking_batch_idid (mbt_)Required

    The marking batch’s id. In the path.

  • file_indexinteger

    one file only, by its place in the batch

curl -X GET https://api.widar.com/v1/marking_batches/mbt_7Kc4rTq1ZpWn/download \
  -H "Authorization: Bearer $WIDAR_API_KEY"

GET /v1/marking_batches/{marking_batch_id}/download

List the signing log

Reads only

GET/v1/signing_log

Every PDF the company signed: its system, time, hash, how it arrived and who sent it. Never the document.

Who may
Owner, Admin, Compliance, Developer and Viewer
CLI
widar signing-log list [--system-id <sys_...>] [--channel <api|batch|upload|sidecar>] [--from <time>] [--to <time>] [--sha256 <hash>] [--query <text>] [--limit <n>] [--cursor <cursor>]
MCP tool
signing_log_list
Returns
The signatures, newest first, each with its system, time, hash and pages, with counts for today, 30 days and this month.

Parameters

  • system_idid (sys_)

    The system’s id.

  • channelenum

    The channel. One of api, batch, upload, sidecar.

  • fromstring

    Signed on or after this day.

  • tostring

    Signed on or before this day.

  • sha256string

    The entry for one document’s hash.

  • querystring

    part of the file name the caller gave At most 120 characters.

  • limitintegerDefault 50

    The limit. At least 1, at most 200.

  • cursorstring

    The cursor. At most 40 characters.

curl -X GET "https://api.widar.com/v1/signing_log?from=2026-12-01" \
  -H "Authorization: Bearer $WIDAR_API_KEY"

GET /v1/signing_log

Response, 200 OK
{
  "items": [
    {
      "object": "signing_log_entry",
      "system_id": "sys_6Dq2xLr9WnKe",
      "mark_record_id": "mrk_4Pz8sKd2VmQe",
      "sha256": "51e9ca32557ab8084197287211e990f046f7ff7d0fa36f86b07a0eb3865ccfcb",
      "file_name": "INV-2026-4821.pdf",
      "pages": 2,
      "channel": "api",
      "signed_at": "2026-12-03T07:18:00Z",
      "signed_by": "Billing system (API key)",
      "credential": {
        "signer": "Lumen Labs B.V.",
        "domain": "lumenlabs.example",
        "issuer": "widar Claim Signing CA G1"
      },
      "pdf_signature": {
        "level": "B-LT",
        "signer": "Lumen Labs B.V.",
        "issuer": "widar Document Signing CA G1"
      },
      "timestamp": {
        "authority": "widar Timestamp Authority 1",
        "at": "2026-12-03T07:18:00Z"
      },
      "verify_url": "https://widar.com/verify/lumen-labs-invoices"
    }
  ],
  "next_cursor": null
}

Confirm document signing

Changes data

POST/v1/settings/documents/confirm

A person’s step: the legal representative, or an owner or admin with two-factor, confirms that the company signs its documents through widar.

Who may
Owner and Admin
CLI
widar settings documents confirm --as <representative|admin> --code <123456>
MCP tool
settings_documents_confirm
Returns
Document signing, with the confirmation recorded; on once both are in.

Parameters

  • asenumRequired

    who confirms: the legal representative, or an owner or admin One of representative, admin.

  • codestringRequired

    The code.

# Members only: a signed-in member makes this call, in the console or with the CLI signed in (widar auth login). An API key is refused with 403 key_scope_denied.
curl -X POST https://api.widar.com/v1/settings/documents/confirm \
  -H "Content-Type: application/json" \
  -d '{
    "as": "representative",
    "code": "<code>"
  }'

POST /v1/settings/documents/confirm

Export the signing log

Reads only

GET/v1/signing_log/export

The signing log as CSV, one signature a line: system, time, hash, pages, channel and who sent it.

Who may
Owner, Admin, Compliance, Developer and Viewer
CLI
widar signing-log export [--system-id <sys_...>] [--channel <api|batch|upload|sidecar>] [--from <time>] [--to <time>] [--output <file.csv>]
MCP tool
signing_log_export
Returns
A CSV file, one signed PDF a line. No document is in it.

Parameters

  • system_idid (sys_)

    The system’s id.

  • channelenum

    The channel. One of api, batch, upload, sidecar.

  • fromstring

    The from.

  • tostring

    The to.

curl -X GET https://api.widar.com/v1/signing_log/export \
  -H "Authorization: Bearer $WIDAR_API_KEY"

GET /v1/signing_log/export

Read a signed document

Reads only

GET/v1/signed_documents/{signed_document_id}

One signed PDF: its Content Credential, its PDF signature, its timestamp and its mark, each on its own line, with the record’s hashes.

Who may
Owner, Admin, Compliance, Developer and Viewer
CLI
widar signed-documents get <signed_document_id>
MCP tool
signed_documents_get
Returns
The signed PDF’s record: the credential, the PDF signature, the timestamp and the mark, the certificates, the batch, and what happened to it. Never the document.

Parameters

  • signed_document_idid (mrk_)Required

    The signed document’s id. In the path.

curl -X GET https://api.widar.com/v1/signed_documents/mrk_7Kq2Xw9 \
  -H "Authorization: Bearer $WIDAR_API_KEY"

GET /v1/signed_documents/{signed_document_id}

List batches

Reads only

GET/v1/marking_batches

The company’s batches: files, state, how many were signed and refused, who started each and its download.

Who may
Owner, Admin, Compliance, Developer and Viewer
CLI
widar marking-batches list [--system-id <sys_...>] [--state <queued|running|completed|failed>]
MCP tool
marking_batches_list
Returns
The batches, newest first.

Parameters

  • system_idid (sys_)

    The system’s id.

  • stateenum

    The state. One of queued, running, completed, failed.

curl -X GET https://api.widar.com/v1/marking_batches \
  -H "Authorization: Bearer $WIDAR_API_KEY"

GET /v1/marking_batches

Errors

Document errors
CodeMeans
pdf_already_signedThe PDF already carries a signature that adding one would break. Sign the unsigned original.
pdf_encryptedThe PDF is encrypted or password-protected. Send it unencrypted.
pdf_a_not_supportedwidar does not sign PDF/A files, so they keep their PDF/A conformance. Export a plain PDF instead.
pdf_hybrid_not_supportedA hybrid-reference PDF. Save it again as a plain PDF.
document_signing_suspendedDocument signing is suspended for the workspace. An owner or admin turns it back on.
content_too_largeOver 50 MB.

Events

Document events
EventWhen
marking.failedA PDF was refused, with its error code. Never sent silently past.
marking_batch.completedA batch finished, with how many files were signed and refused.
certificate.issuedAn organisation certificate was issued or renewed.
PreviousRenewal daemonNextSign PDFs

For agents

  • Read this page as Markdown

Start without a browser: POST https://api.widar.com/v1/signups, then the emailed code; or sign in with the CLI, which comes with a widar workspace: widar auth login. The key is read from WIDAR_API_KEY.

  • Agent setup
  • MCP serverhttps://widar.com/mcp
  • Docs MCP serverhttps://widar.com/mcp
  • OpenAPI
  • llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

A product of Bynn Intelligence, Inc.

  • llms.txt
  • agent-setup.md
  • Pricing