MyPDFUpdate

Developer API

Pro

A REST API for automating merges, watermarking, page numbering, cropping, password protection and more from your own tools, scripts or CI pipelines.

Loading…


Authentication

Send your key as a Bearer token. Every request must be multipart/form-data.

curl -X POST https://your-domain.com/api/v1/merge \
  -H "Authorization: Bearer pdr_live_..." \
  -F "files=@a.pdf" \
  -F "files=@b.pdf" \
  -o merged.pdf

Endpoints

MethodPathForm fields
POST/api/v1/mergefiles (multiple PDF files)
POST/api/v1/splitfile, ranges (e.g. "1-3,5")
POST/api/v1/organizefile, pages (JSON: [{"index":0,"rotation":90}])
POST/api/v1/watermarkfile, text, opacity, fontSize, rotation
POST/api/v1/page-numbersfile, prefix, startAt, position
POST/api/v1/cropfile, mode ("resize"|"crop"), size|margin
POST/api/v1/protectfile, password, ownerPassword?
POST/api/v1/unlockfile, password

Every endpoint requires an active Pro or Lifetime plan and returns the resulting file directly in the response body. Password-protect/unlock and Office conversions run server-side; everything else runs the same pdf-lib engine used by the website.