v1

latestSwagger 2.02026-07-1371041.4 KB
Async

Poll a previously-submitted async job

Used after submitting a request with async=true to /api2/convert, /api2/pdftotext, or /api2/pdfmerge. The Job-Id was returned in the X-SelectPdf-Job-Id header of the original 202 response.

  • Job still running → 202 with body Job still running.
  • Job finished → 200 with the same body shape the original endpoint would have returned (PDF / text / JSON)
  • Job failed → 499 with the error message in the body
post/api2/asyncjob

Request body

keystring uuid required
job_idstring uuid required

Job UUID returned by the originating endpoint via X-SelectPdf-Job-Id.

Response

Job complete. Body matches the originating endpoint (PDF / text / JSON).