Skip to main content

Quickstart

Normalize your first PDF in under 5 minutes using the PDFCanon API or one of the official SDKs.

Prerequisites

Step 1 — Get your API key

Navigate to app.pdfcanon.com → API Keys and create a new key. Copy the key value — it starts with pdfn_.

Set it in your environment so the SDKs can pick it up automatically:

export PDFCANON_API_KEY=pdfn_your_api_key_here

Step 2 — Normalize a PDF

curl -X POST https://api.pdfcanon.com/api/normalize \
-H "X-Api-Key: $PDFCANON_API_KEY" \
-H "Content-Type: application/pdf" \
--data-binary @input.pdf \
-o normalized.pdf

If normalization succeeds, normalized.pdf contains the canonical output and the response headers include the submission metadata.

Step 3 — Retrieve the submission record

curl https://api.pdfcanon.com/api/submissions/{submissionId} \
-H "X-Api-Key: pdfn_your_api_key_here"

Step 4 — (Optional) Fetch the normalization report

curl https://api.pdfcanon.com/api/reports/{outputHash} \
-H "X-Api-Key: pdfn_your_api_key_here"

Next steps