Conversions
Cancel a conversion
Stop a job that hasn't finished. Safe to repeat.
Pages not converted before the cancel aren't charged.
Authentication
An API key with the conversions:write scope, or the signed-in website.
Path parameters
idstringrequiredThe job ID.
Response
202 Accepted
idstringThe job ID.
statestringqueued, processing, succeeded, failed or cancelled. See all states.
channelstringWhere it came from: api, web or desktop.
input_filenamestringThe uploaded file name.
input_bytesintegerThe size of the upload.
optionsobjectThe options in use, with defaults filled in.
page_countinteger or nullPages in the PDF, once it has been opened.
pages_selectedinteger or nullPages this job converts.
pages_succeededintegerPages converted so far.
pages_failedintegerPages that failed.
credits_reservedintegerCredits held while the job runs.
credits_consumedintegerCredits charged. Only converted pages are charged.
errorobject or nullWhat went wrong. See job errors.
cancel_requestedbooleanWhether a cancel was requested.
results_expire_atstring or nullWhen the images will be deleted.
created_atstringWhen the job was created.
started_atstring or nullWhen a worker started it.
finished_atstring or nullWhen it ended.
Errors
| Status | Code | What to do |
|---|---|---|
| 401 | unauthenticated | The API key is missing, invalid, expired or revoked. |
| 403 | insufficient_scope | Use a key with the scope shown above. |
| 404 | not_found | Check the ID. It may belong to another workspace. |