Compress a PDF
Smallest file that fits under target_mb, or a fixed quality level. Counts as one operation when it succeeds.
post/compress
Request
- Base URL: https://marqpdf.com/v1
- URL: https://marqpdf.com/v1/compress
- Auth: HTTP bearer
Request body
Example request
{
"file": "file_…",
"target_mb": 1
}Response
Finished: the job with its output
Example response
{
"id": "job_3Fq…",
"output": {
"files": [
{
"id": "file_8rX2…"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.