capabilities.work

PDF Services Compress PDF

A 5-step recipe with Adobe Creative Suite. We can help you get access.

Recipe · 5 steps

PDF Services Compress PDF

Upload a PDF, compress it, and resolve the compressed download URI.

  1. Request an upload asset for the source PDF to compress.
  2. Submit a compress operation against the uploaded PDF asset at the requested level. The API returns a job id for polling.
  3. Poll the compress operation status, repeating while it is in progress and branching once it is done or failed.
  4. Retrieve the compressed PDF asset metadata and a fresh temporary download URI for the output file.
  5. Surface the error details from the failed compress operation.
What you'll need to have ready
  • compressionLevel: Compression level to apply (LOW, MEDIUM, or HIGH).
For your developer

Arazzo workflow adobe-creative-suite:compress-pdf, 5 operations: uploadAsset → compressPDF → getOperationStatus → getAsset → getOperationStatus. Specs on APIs.io.