Convert to PDF/A is a REST API tool that converts a standard PDF file to one of several target PDF/A formats to meet regulatory compliance requirements and ensure long-term preservation of the document.
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/pdfa" \ -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.
pdfRest’s Convert to PDF/A supports a wide range of PDF/A conformance versions and levels, including:
Occasionally a PDF will contain a mix of conditions that make it incompatible with conversion to PDF/A. Most tools will return an error in this situation, but pdfRest offers a fallback plan you can turn on that will rasterize any problematic pages in the document to ensure the file converts successfully and conforms to PDF/A standards.
Api-Keyfield with your unique API Key
filewith the local path to your input
curl -X POST "https://api.pdfrest.com/pdfa" \ -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/A-1b" \ -F "rasterize_if_errors_encountered=off"
output_typeparameter lets you choose from several conformance levels and versions of PDF/A: