MyPDFUpdate

डेवलपर API

Pro

अपने टूल्स, स्क्रिप्ट या CI पाइपलाइन से मर्ज, वॉटरमार्किंग, पेज नंबरिंग, क्रॉपिंग, पासवर्ड सुरक्षा और अधिक को ऑटोमेट करने के लिए एक REST API।

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.