Save a workflow

A named chain of 1–10 operations. Each step works on the previous step's output files (a step that only makes data passes its inputs on). Steps are checked when saved.

post/workflows

Request

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

Request body

namestring required

Example request

{
  "name": "Scan to small searchable PDF",
  "steps": [
    {
      "operation": "ocr"
    },
    {
      "operation": "compress",
      "options": {
        "target_mb": 1
      }
    }
  ]
}

Response

The workflow

object'workflow'
idstring
namestring
created_atstring date-time

Example response

{
  "id": "wf_…",
  "steps": [
    {
      "operation": "compress",
      "options": {
        "target_mb": 1
      }
    }
  ]
}

Changes

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