Docs / Tools / sign-self

Self-sign PDF API

Upload a PDF, apply signature and field values, and download the signed file in one request.

Web UI: Sign PDF

Authentication

Bearer API key required on every request.

Request

POST https://api.omnicap.app/v1/sign-self

Content-Type: multipart/form-data

  • file (file, required)

    PDF to sign.

  • party (string, required)

    JSON with fields, consent: true, signaturePngBase64, and optional initialsPngBase64.

Response

Mode: sync — binary file body

Headers: X-Page-Count

Examples

curl

curl -X POST "https://api.omnicap.app/v1/sign-self" \
  -H "Authorization: Bearer $OMNICAP_API_KEY" \
  -F "file=@/path/to/document.pdf" \
  -F "party=YOUR_PARTY"

Node.js (fetch)

const form = new FormData();
form.append("file", fileBlob, "document.pdf");
form.append("party", "YOUR_PARTY");

const res = await fetch("https://api.omnicap.app/v1/sign-self", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.OMNICAP_API_KEY}` },
  body: form,
});
const out = await res.arrayBuffer();

Billing

1 billable unit(s) per successful call.

Changelog

  • 2026-10-24: Initial public release.