Compare two PDFs

A PDF marking what changed between files[0] and files[1]. Counts as one operation when it succeeds.

post/compare

Request

  • Base URL: https://marqpdf.com/v1
  • URL: https://marqpdf.com/v1/compare
  • Auth: HTTP bearer

Request body

filesstring[] required

File ids, in order.

waitinteger

Seconds to wait for the result before answering 202 with a job to poll. 0 = answer at once.

webhook_urlstring uri

POSTed the finished job, signed with your webhook secret (MarqPDF-Signature).

Response

Finished: the job with its output

object'job' required
idstring required
operationstring required
status'queued' | 'running' | 'succeeded' | 'failed' required
created_atstring date-time required
started_atstring nullable
finished_atstring nullable
webhook_urlstring nullable
webhookobject nullable

Example response

{
  "id": "job_3Fq…",
  "output": {
    "files": [
      {
        "id": "file_8rX2…"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.