All endpoints
PDF Page Organizer
POST
/api/v1/pdf/organizeReorder, delete or duplicate pages by dragging thumbnails, then download the reorganized PDF.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/pdf/organizeParameters
pdfBase64stringrequiredBase64-encoded PDF file.
pagesinteger[]required1-based page numbers in the desired output order (repeat a number to duplicate a page).
Request body
{
"pdfBase64": "JVBERi0xLjQK...",
"pages": [
3,
1,
2,
2
]
}Response codes
200Success.400Invalid request — check your body or parameters.401Missing or invalid API key.403The API key is not scoped to this endpoint.429Rate limit exceeded — retry after a short wait.
Language
cURL
Request
curl -X POST https://utilerio.com/api/v1/pdf/organize \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"pdfBase64":"JVBERi0xLjQK...","pages":[3,1,2,2]}'Response
binary application/pdf
