Convert to PDF/X is a REST API tool that converts a standard PDF file to one of several target PDF/X formats to meet prepress print requirements.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!to receive your free API Key.
curl -X POST "https://api.pdfrest.com/pdfx" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
The response for your API Call will display here.
Our Convert to PDF/X API Tool pairs perfectly with our Query PDF API Tool to support a preflight print workflow. Quickly return detailed information about the contents of a PDF, including whether it's already marked as a PDF/X document, whether it contains transparencies, whether it has embedded fonts, and more. Use this returned information to conditionally apply additional process steps, such as converting to PDF/X, only when necessary.
Api-Keyfield with your unique API Key
filewith the local path to your input
curl -X POST "https://api.pdfrest.com/pdfx" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \ -F "file=@../Sample_Input/ducky.pdf" \ -F "output=example_out" \ -F "output_type=PDF/X-4" \