Skip to content

PDF signing API: prove every invoice and statement is really yours

One API call signs each PDF your company issues, so anyone can check it came from you and has not changed since.

Your company seals each document as it issues it. No recipient signs anything: this is not an e-signature workflow.

Example: an invented company's invoice, signed through widar, and its check.An example with an invented company: an invoice from Lumen Labs, signed by its billing system through widar, and the three findings its verify page answers. Content Credential: Found, Signed by Lumen Labs B.V., lumenlabs.example, identity validated by widar. PDF signature: Found, Signed by Lumen Labs B.V. No change since signing. widar mark: Found, Lumen Labs invoices by Lumen Labs B.V..
Lumen Labs' verify pageINV-2026-4821.pdf
  • Content CredentialLumen Labs B.V., identity validated by widarFound
  • PDF signatureLumen Labs B.V., no change since signingFound
  • widar markLumen Labs invoices by Lumen Labs B.V.Found

What goes into every signed PDF

Four things, added in the one call, before the document leaves your systems.

  • A Content Credential naming your company

    Signed in the C2PA standard with your company identity, validated by widar, so a C2PA reader names you as the issuer.

  • A standard PDF signature

    From widar's certificate authority, over the whole file, so a PDF reader shows whether the document changed after signing.

  • A timestamp

    From widar's timestamp authority: proof that the document existed in this form at that moment.

  • An invisible mark

    Read on your verify page as widar mark found, naming your company and the system that signed it.

What anyone who receives it can check

Your verify page answers in up to three lines, each on its own. Never one verdict. Shown here for the example invoice.

A PDF you signed

f032ac57…d3b0f018
  • Content CredentialFound
    Signed by Lumen Labs B.V., lumenlabs.example, identity validated by widarDec 3, 2026, 07:42 UTC
  • PDF signatureFound
    Signed by Lumen Labs B.V. No change since signing.Dec 3, 2026, 07:42 UTC
  • widar markFound
    Lumen Labs invoices by Lumen Labs B.V.

A PDF in your name you did not sign

INV-2026-4821 (1).pdf

Not signed by Lumen Labs B.V. through widarLumen Labs has signed every invoice it has issued since Sep 21, 2026.

It passes no judgement on the document itself: it says only that your company did not sign it through widar.

Free for everyone who checks, on your verify page and through widar's API, CLI and MCP server.

Sign a PDF in one call

Send the PDF, get it back signed. widar keeps the hash and the signatures, never the document.

$ curl -X POST https://api.widar.com/v1/markings \    --url-query system_id=sys_h8tnf2seg5ha \    -H "Authorization: Bearer $WIDAR_API_KEY" \    -H "Content-Type: application/pdf" \    --data-binary @INV-2026-4821.pdf -o INV-2026-4821.signed.pdf# the PDF comes back signed and timestamped# Widar-Mark-Id: mrk_9gnghy2fs9q6
Sign one invoice with the cloud API, by curl or the CLI

Three ways to sign, one result

Pick the one that fits where your documents are made.

  • One call per document

    Your billing system calls the API as it issues each invoice, receipt or statement.

  • Batches

    Send a month of statements at once and download them signed. Batch files are deleted within 24 hours.

  • The sidecar

    Sign on your own servers: only the digests to sign reach widar, never the file.

Your company's certificates, free

Once your company is validated, widar issues its identity certificate and its PDF signing certificate, and renews both every 30 days. Free on every plan.

Priced per document

One PDF is one file, whatever its page count, timestamps included: $0.003 signed, or $0.008 with widar's watermark added in its cloud, past the files your plan includes (50,000 a month on Business).

What Adobe Acrobat shows

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. The company's verify page shows the validated signer.

What a widar signature is, and is not

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.

Questions

Is this an e-signature tool like a contract signing app?

No. Nobody is asked to sign. Your company seals each document it issues, automatically, so the recipient can check where it came from and that it has not changed.

What does a recipient need to check a signed PDF?

Nothing but the file. They open your verify page and drop the PDF in, or see the signature in their PDF reader. Checks are free and nothing is kept.

What does a check show for a PDF we did not sign?

Not signed by your company through widar, with the date from which you sign every document, if you publish one. It passes no judgement on the document itself.

Does Adobe Acrobat show the signature as valid?

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 changed since signing. Your verify page shows the validated signer.

Does widar keep our documents?

No. A single signing call keeps nothing, and a batch's files are deleted within 24 hours. widar keeps hashes, signatures and certificates; you keep your signed PDFs in your own archive.

How is document signing priced?

Per PDF, counted as one file whatever its page count, timestamps included: $0.003 signed, $0.008 with the watermark in widar's cloud, or $0.0005 on Volume, past the files your plan includes: 1,000 C2PA-only files a month on Free, 50,000 on Business. Your company's certificates are free.

Sign documents in the docs

The technical detail, for your developers and your agents.

Sign the next document you issue

Create a free account and sign a test invoice in minutes, or talk to sales about volumes.

For agents

What this page answers

Sign every PDF your company issues with a Content Credential naming you, a PDF signature and a timestamp, in one API call. Anyone can check it free.

Updated .

my-app · Claude Code

Set up widar for me: fetch https://widar.com/agent-setup.md and follow it.

Paste into any coding agent

Works withClaude CodeCodexGemini CLIGrok Build

Start without a browser

Sign up by API, no key
curl -X POST https://api.widar.com/v1/signups -H "Content-Type: application/json" -d '{"email":"you@example.com","workspace_name":"Your company"}'
Then send the emailed code
curl -X POST https://api.widar.com/v1/signups/{signup_id}/verify -H "Content-Type: application/json" -d '{"code":"<the code>"}'
Sign in with the CLI (it comes with a widar workspace)
widar auth login
Key variable
WIDAR_API_KEY
Read marking volume by API
curl -X GET https://api.widar.com/v1/marking/stats?days=30 -H "Authorization: Bearer $WIDAR_API_KEY"

This page by API, CLI and MCP

Mark an output with the CLI
widar markings create --system-id sys_h8tnf2seg5ha
Mark an output with the MCP tool
create_marking {"system_id":"sys_h8tnf2seg5ha","format":"application/pdf","file_name":"INV-2026-4821.pdf","size_bytes":56042}