Developers Dashboard

Automations: a trigger and the steps it runs, and their runs.

List workflow nodes

GET/workflow-nodes

Every node a workflow can use: triggers (a form is sent, an entry changes, a schedule, a webhook, a payment…) and steps (conditions, contacts, emails, collection writes, AI sort, summarise and draft, HTTP requests, responses). Each lists its config fields and what it outputs, so you can write a valid graph.

Response 200

  • itemsarray of objectsrequired
    5 child fields
    • typestringrequired
    • labelstringrequired
    • categorystringrequired
    • descriptionstring
    • fieldsarray

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/workflow-nodes \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "type": "richText",
      "label": "Role",
      "category": "…",
      "description": "Building the homepage",
      "fields": [
        {}
      ]
    }
  ]
}

List workflow templates

GET/sites/{siteId}/workflow-templates

Ready-made workflows to start from (welcome new leads, notify on payment…). Pass a template id to POST /sites/{siteId}/workflows.

Path parameters

  • siteIdstringrequired

    The site’s id.

Response 200

  • itemsarray of objectsrequired
    4 child fields
    • idstringrequired
    • namestringrequired
    • descriptionstringrequired
    • graphobjectrequired

      A workflow graph: one trigger node and the steps it leads to.

      2 child fields
      • nodesarray of objectsrequired

        up to 100 items

        6 child fields
        • idstringrequired

          up to 40 characters

        • typestringrequired

          A node type from GET /workflow-nodes, like trigger.form or people.upsert.

          up to 40 characters

        • labelstring

          up to 120 characters

        • configobjectrequired

          default {}

        • xnumberrequired

          default 0

        • ynumberrequired

          default 0

      • edgesarray of objectsrequired

        up to 300 items

        3 child fields
        • fromstringrequired
        • portstringrequired

          The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

        • tostringrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/workflow-templates \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "id": "id_123",
      "name": "Ana",
      "description": "Building the homepage",
      "graph": {
        "nodes": [
          {}
        ],
        "edges": [
          {}
        ]
      }
    }
  ]
}

List workflows

GET/sites/{siteId}/workflows

The site’s workflows, with their draft and published graphs and whether they are on.

Path parameters

  • siteIdstringrequired

    The site’s id.

Response 200

  • itemsarray of objectsrequired
    7 child fields
    • idstringrequired
    • namestringrequired
    • descriptionstringrequired
    • enabledbooleanrequired

      Runs when its trigger fires. Only a published workflow can be on.

    • draftobjectrequired

      A workflow graph: one trigger node and the steps it leads to.

      2 child fields
      • nodesarray of objectsrequired

        up to 100 items

        6 child fields
        • idstringrequired

          up to 40 characters

        • typestringrequired

          A node type from GET /workflow-nodes, like trigger.form or people.upsert.

          up to 40 characters

        • labelstring

          up to 120 characters

        • configobjectrequired

          default {}

        • xnumberrequired

          default 0

        • ynumberrequired

          default 0

      • edgesarray of objectsrequired

        up to 300 items

        3 child fields
        • fromstringrequired
        • portstringrequired

          The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

        • tostringrequired
    • liveobjectrequirednullable

      The published graph that runs.

      2 child fields
      • nodesarray of objectsrequired

        up to 100 items

        6 child fields
        • idstringrequired

          up to 40 characters

        • typestringrequired

          A node type from GET /workflow-nodes, like trigger.form or people.upsert.

          up to 40 characters

        • labelstring

          up to 120 characters

        • configobjectrequired

          default {}

        • xnumberrequired

          default 0

        • ynumberrequired

          default 0

      • edgesarray of objectsrequired

        up to 300 items

        3 child fields
        • fromstringrequired
        • portstringrequired

          The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

        • tostringrequired
    • hookany

      For webhook workflows: the address it answers at.

  • cursorstringnullable

    Pass as ?cursor= to get the next page. Null when there are no more.

  • totalinteger

    How many there are in all, when the list knows.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/workflows \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "id": "wfl_123",
      "name": "Ana",
      "description": "Building the homepage",
      "enabled": true,
      "draft": {
        "nodes": [
          {}
        ],
        "edges": [
          {}
        ]
      },
      "live": {
        "nodes": [
          {}
        ],
        "edges": [
          {}
        ]
      },
      "hook": {}
    }
  ],
  "cursor": null,
  "total": 1
}

Create a workflow

POST/sites/{siteId}/workflows
Scopeworkflows:writeIdempotent with a key

Create a workflow from a template or your own graph. It starts as a draft: test it, publish it, then turn it on with PATCH { enabled: true }.

Path parameters

  • siteIdstringrequired

    The site’s id.

Headers

  • Idempotency-Keystring

    Send the same key to repeat this request safely; the first answer is replayed for 24 hours.

    up to 200 characters

Request body JSON

  • namestring

    up to 120 characters

  • descriptionstring

    up to 500 characters

  • templateIdstring
  • draftobject

    A workflow graph: one trigger node and the steps it leads to.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobject

        default {}

      • xnumber

        default 0

      • ynumber

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired

Response 201

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired

    Runs when its trigger fires. Only a published workflow can be on.

  • draftobjectrequired

    A workflow graph: one trigger node and the steps it leads to.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • liveobjectrequirednullable

    The published graph that runs.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • hookany

    For webhook workflows: the address it answers at.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/sites/site_123/workflows \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "name": "Tag new leads",
    "draft": {
      "nodes": [
        {
          "id": "trigger",
          "type": "trigger.form",
          "config": {
            "form": "contact"
          }
        },
        {
          "id": "tag",
          "type": "people.upsert",
          "config": {
            "email": "{{trigger.contact.email}}",
            "tags": "website"
          }
        }
      ],
      "edges": [
        {
          "from": "trigger",
          "port": "next",
          "to": "tag"
        }
      ]
    }
  }'
Response 201
{
  "id": "wfl_123",
  "name": "Ana",
  "description": "Building the homepage",
  "enabled": true,
  "draft": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "live": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "hook": {}
}

Get a workflow

GET/sites/{siteId}/workflows/{workflowId}

One workflow with its draft and published graphs.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Response 200

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired

    Runs when its trigger fires. Only a published workflow can be on.

  • draftobjectrequired

    A workflow graph: one trigger node and the steps it leads to.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • liveobjectrequirednullable

    The published graph that runs.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • hookany

    For webhook workflows: the address it answers at.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/workflows/wfl_123 \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "id": "wfl_123",
  "name": "Ana",
  "description": "Building the homepage",
  "enabled": true,
  "draft": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "live": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "hook": {}
}

Change a workflow

PATCH/sites/{siteId}/workflows/{workflowId}

Rename it, replace its draft graph, or turn it on or off (enabled). Only a published workflow can be turned on, and only owners and admins can turn workflows on or off.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Request body JSON

  • namestring

    up to 120 characters

  • descriptionstring

    up to 500 characters

  • draftobject

    A workflow graph: one trigger node and the steps it leads to.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobject

        default {}

      • xnumber

        default 0

      • ynumber

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • enabledboolean

Response 200

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired

    Runs when its trigger fires. Only a published workflow can be on.

  • draftobjectrequired

    A workflow graph: one trigger node and the steps it leads to.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • liveobjectrequirednullable

    The published graph that runs.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • hookany

    For webhook workflows: the address it answers at.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X PATCH https://api.unvop.com/v1/sites/site_123/workflows/wfl_123 \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Ana",
    "description": "Building the homepage"
  }'
Response 200
{
  "id": "wfl_123",
  "name": "Ana",
  "description": "Building the homepage",
  "enabled": true,
  "draft": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "live": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "hook": {}
}

Delete a workflow

DEL/sites/{siteId}/workflows/{workflowId}

Delete a workflow and its runs. Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Response 200

  • oktruerequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X DELETE https://api.unvop.com/v1/sites/site_123/workflows/wfl_123 \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "ok": true
}

Publish a workflow

POST/sites/{siteId}/workflows/{workflowId}/publish

Make the draft graph the one that runs. Problems that would stop it running come back as details.problems. A webhook workflow’s first publish returns hookSecret, its signing secret, once. Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Response 200

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired

    Runs when its trigger fires. Only a published workflow can be on.

  • draftobjectrequired

    A workflow graph: one trigger node and the steps it leads to.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • liveobjectrequirednullable

    The published graph that runs.

    2 child fields
    • nodesarray of objectsrequired

      up to 100 items

      6 child fields
      • idstringrequired

        up to 40 characters

      • typestringrequired

        A node type from GET /workflow-nodes, like trigger.form or people.upsert.

        up to 40 characters

      • labelstring

        up to 120 characters

      • configobjectrequired

        default {}

      • xnumberrequired

        default 0

      • ynumberrequired

        default 0

    • edgesarray of objectsrequired

      up to 300 items

      3 child fields
      • fromstringrequired
      • portstringrequired

        The output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.

      • tostringrequired
  • hookany

    For webhook workflows: the address it answers at.

  • hookSecretstring

Errors

  • 400The request is malformed.
  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X POST https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/publish \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "id": "wfl_123",
  "name": "Ana",
  "description": "Building the homepage",
  "enabled": true,
  "draft": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "live": {
    "nodes": [
      {
        "id": "id_123",
        "type": "richText",
        "label": "Role",
        "config": {},
        "x": 0,
        "y": 0
      }
    ],
    "edges": [
      {
        "from": "…",
        "port": "…",
        "to": "…"
      }
    ]
  },
  "hook": {}
}

Test a workflow

POST/sites/{siteId}/workflows/{workflowId}/test

Run the draft graph once as a test, with the trigger payload you send or the trigger’s sample. Follow the run with GET /sites/{siteId}/runs/{runId}.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Request body JSON

  • triggerany

    The payload the trigger would carry.

Response 200

  • runIdstringrequired

Errors

  • 400The request is malformed.
  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/test \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "trigger": {}
  }'
Response 200
{
  "runId": "run_123"
}

Run a workflow

POST/sites/{siteId}/workflows/{workflowId}/run

Run the published graph now with the input you send, as its Run button does. Follow the run with GET /sites/{siteId}/runs/{runId}.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Request body JSON

  • inputobject

Response 200

  • runIdstringrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/run \
  -H "Authorization: Bearer $UNVOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {}
  }'
Response 200
{
  "runId": "run_123"
}

Rotate a webhook secret

POST/sites/{siteId}/workflows/{workflowId}/hook-secret

Make a new signing secret for a published webhook workflow. The old one stops working. Shown once. Owners and admins only.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Response 200

  • secretstringrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X POST https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/hook-secret \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "secret": "…"
}

List a workflow’s runs

GET/sites/{siteId}/workflows/{workflowId}/runs

The workflow’s recent runs, newest first.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • workflowIdstringrequired

Query parameters

  • limitinteger

    min 1 · max 200

Response 200

  • itemsarray of objectsrequired
    6 child fields
    • idstringrequired
    • workflowIdstringrequired
    • statusstringrequired

      One of queued running waiting succeeded failed cancelled

    • sourcestring
    • stepsarray
    • createdAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/runs \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "id": "run_123",
      "workflowId": "wfl_123",
      "status": "queued",
      "source": "website",
      "steps": [
        {}
      ],
      "createdAt": "2026-11-20T08:00:00.000Z"
    }
  ]
}

List runs

GET/sites/{siteId}/runs

Recent runs of every workflow on the site, newest first. Filter by workflow or status.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • workflowstring
  • statusstring

    One of queued running waiting succeeded failed cancelled

  • limitinteger

    min 1 · max 200

Response 200

  • itemsarray of objectsrequired
    6 child fields
    • idstringrequired
    • workflowIdstringrequired
    • statusstringrequired

      One of queued running waiting succeeded failed cancelled

    • sourcestring
    • stepsarray
    • createdAtstringrequired

      An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/runs \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "items": [
    {
      "id": "run_123",
      "workflowId": "wfl_123",
      "status": "queued",
      "source": "website",
      "steps": [
        {}
      ],
      "createdAt": "2026-11-20T08:00:00.000Z"
    }
  ]
}

Get a run

GET/sites/{siteId}/runs/{runId}

One run with each step: what went in, what came out, and any error.

Path parameters

  • siteIdstringrequired

    The site’s id.

  • runIdstringrequired

Response 200

  • idstringrequired
  • workflowIdstringrequired
  • statusstringrequired

    One of queued running waiting succeeded failed cancelled

  • sourcestring
  • stepsarray
  • createdAtstringrequired

    An ISO 8601 timestamp.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/runs/run_123 \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "id": "run_123",
  "workflowId": "wfl_123",
  "status": "queued",
  "source": "website",
  "steps": [
    {}
  ],
  "createdAt": "2026-11-20T08:00:00.000Z"
}