Skip to Content
NexPDF

Choose a workflow

Which endpoint fits which job, and how to combine steps in one request.

English

Single-purpose endpoints

Use these when you need exactly one thing. They take one field and need no JSON.

You wantEndpoint
A PDF from Word, Excel, PowerPoint, an image or EPUB/v1/convert/pdf
A searchable PDF from a scan/v1/ocr
Several files joined, in order/v1/merge
The text of a document as Markdown, for search or an LLM/v1/extract/markdown
An Excel file with cells changed and recalculated/v1/xlsx/edit
A Word file with text replaced/v1/docx/edit
One PDF cut into several, by size or by ranges/v1/split
The signatures in a PDF checked/v1/verify

Build: everything else

/v1/build does what the others do and more, in one request: it joins parts (files, page ranges, HTML pages), applies actions in order (OCR, redact, watermark, rotate, fill forms, PDF/A, encrypt, sign…) and writes one output (PDF, PNG, Markdown, HTML, JSON, Word, Excel, or a ZIP of split PDFs).

One request instead of several means one upload, one download, and no intermediate file on your side. Each part and action costs its units, as if you had made the calls one by one.

Common pipelines

JobPartsActionsOutput
Make scanned archives searchable and safe to sharethe scanocr, redact (patterns)pdf
Send a contract packetcontract, annexredact, watermark, encryptpdf, linearised
File invoices for the long termthe invoicepdfapdf
Publish an accessible reportthe reportpdfuapdf
Feed documents to search or an LLMthe documentocr if scannedmarkdown or json
Close a submitted formthe formfill_form, flatten_formspdf
Sign an approved contractthe contract and your .p12signpdf
Issue one payslip per employeethe batchredact (patterns)split, every page
Show a previewthe documentnonepng
curl https://api.nexpdf.dev/v1/build \
  -H "Authorization: Bearer $NEXPDF_API_KEY" \
  -F contract=@contract.pdf \
  -F annex=@annex.docx \
  -F 'instructions={
    "parts": [
      {
        "file": "contract"
      },
      {
        "file": "annex"
      }
    ],
    "actions": [
      {
        "type": "redact",
        "query": "email",
        "mode": "pattern"
      },
      {
        "type": "watermark",
        "text": "CONFIDENTIAL"
      },
      {
        "type": "encrypt",
        "owner_password": "owner-secret",
        "user_password": "reader"
      }
    ],
    "output": {
      "type": "pdf",
      "linearize": true
    }
  }' \
  -o packet.pdf

Cloud, SDK or MCP?

Cloud APISDKMCP server
RunsOn our serversIn your app or on your serversNext to an AI assistant, calling the Cloud API
InstallNothing (a small client, optional)A native libraryOne command
CostUnits per operationA licence, no per-request costUnits per operation
Files leave your networkYes, for the length of the requestNoYes, for the length of the request
Best forServerless, occasional jobs, any languageHigh volume, offline, mobile, private dataAsking an assistant in plain words

On this page