API développeur
ProUne API REST pour automatiser les fusions, le filigrane, la numérotation de pages, le rognage, la protection par mot de passe et plus depuis vos propres outils, scripts ou pipelines CI.
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
| Method | Path | Form fields |
|---|---|---|
| POST | /api/v1/merge | files (multiple PDF files) |
| POST | /api/v1/split | file, ranges (e.g. "1-3,5") |
| POST | /api/v1/organize | file, pages (JSON: [{"index":0,"rotation":90}]) |
| POST | /api/v1/watermark | file, text, opacity, fontSize, rotation |
| POST | /api/v1/page-numbers | file, prefix, startAt, position |
| POST | /api/v1/crop | file, mode ("resize"|"crop"), size|margin |
| POST | /api/v1/protect | file, password, ownerPassword? |
| POST | /api/v1/unlock | file, 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.
