Adobe · Arazzo Workflow
Adobe Compress a PDF
Version 1.0.0
Upload a PDF, compress it to reduce file size, poll the job, and fetch the smaller result.
View Spec
View on GitHub
AnalyticsCreative CloudDigital Asset ManagementDocument ServicesE-CommerceE-SignaturesExperience CloudGenerative AIMarketingPDFWork ManagementArazzoWorkflows
Provider
Workflows
compress-pdf
Reduce a PDF's file size with a chosen compression level.
Requests an upload slot for the source PDF, submits a compressPDF job at the requested compression level, polls job status until compression finishes, and retrieves the download URI for the smaller PDF.
1
requestUpload
uploadAsset
Request a pre-signed upload URI and asset ID for the source PDF, which is then PUT to the returned uploadUri out of band.
2
submitCompress
compressPDF
Submit an asynchronous compressPDF job that reduces the uploaded PDF's size. Returns 201 with an in-progress job status.
3
pollStatus
getJobStatus
Poll the compressPDF job until it is no longer in progress, looping back while the status remains "in progress".
4
getOutput
getAsset
Resolve a pre-signed download URI for the compressed output PDF.