Workflows
Automations: a trigger and the steps it runs, and their runs.
- GET
/workflow-nodesList workflow nodes - GET
/sites/{siteId}/workflow-templatesList workflow templates - GET
/sites/{siteId}/workflowsList workflows - POST
/sites/{siteId}/workflowsCreate a workflow - GET
/sites/{siteId}/workflows/{workflowId}Get a workflow - PATCH
/sites/{siteId}/workflows/{workflowId}Change a workflow - DEL
/sites/{siteId}/workflows/{workflowId}Delete a workflow - POST
/sites/{siteId}/workflows/{workflowId}/publishPublish a workflow - POST
/sites/{siteId}/workflows/{workflowId}/testTest a workflow - POST
/sites/{siteId}/workflows/{workflowId}/runRun a workflow - POST
/sites/{siteId}/workflows/{workflowId}/hook-secretRotate a webhook secret - GET
/sites/{siteId}/workflows/{workflowId}/runsList a workflow’s runs - GET
/sites/{siteId}/runsList runs - GET
/sites/{siteId}/runs/{runId}Get a run
List workflow nodes
/workflow-nodesEvery 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 objectsrequired5 child fields
typestringrequiredlabelstringrequiredcategorystringrequireddescriptionstringfieldsarray
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"const res = await fetch('https://api.unvop.com/v1/workflow-nodes', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/workflow-nodes",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"type": "richText",
"label": "Role",
"category": "…",
"description": "Building the homepage",
"fields": [
{}
]
}
]
}List workflow templates
/sites/{siteId}/workflow-templatesReady-made workflows to start from (welcome new leads, notify on payment…). Pass a template id to POST /sites/{siteId}/workflows.
Path parameters
siteIdstringrequiredThe site’s id.
Response 200
itemsarray of objectsrequired4 child fields
idstringrequirednamestringrequireddescriptionstringrequiredgraphobjectrequiredA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflow-templates', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/workflow-templates",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "id_123",
"name": "Ana",
"description": "Building the homepage",
"graph": {
"nodes": [
{}
],
"edges": [
{}
]
}
}
]
}List workflows
/sites/{siteId}/workflowsThe site’s workflows, with their draft and published graphs and whether they are on.
Path parameters
siteIdstringrequiredThe site’s id.
Response 200
itemsarray of objectsrequired7 child fields
idstringrequirednamestringrequireddescriptionstringrequiredenabledbooleanrequiredRuns when its trigger fires. Only a published workflow can be on.
draftobjectrequiredA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
liveobjectrequirednullableThe published graph that runs.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
hookanyFor webhook workflows: the address it answers at.
cursorstringnullablePass as ?cursor= to get the next page. Null when there are no more.
totalintegerHow 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/workflows",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/workflowsCreate 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
siteIdstringrequiredThe site’s id.
Headers
Idempotency-KeystringSend the same key to repeat this request safely; the first answer is replayed for 24 hours.
up to 200 characters
Request body JSON
namestringup to 120 characters
descriptionstringup to 500 characters
templateIdstringdraftobjectA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectdefault {}
xnumberdefault 0
ynumberdefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
Response 201
idstringrequirednamestringrequireddescriptionstringrequiredenabledbooleanrequiredRuns when its trigger fires. Only a published workflow can be on.
draftobjectrequiredA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
liveobjectrequirednullableThe published graph that runs.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
hookanyFor 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"
}
]
}
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({
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"
}
]
}
}),
});
const data = await res.json();import os, requests, uuid
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/workflows",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"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",
},
],
},
},
)
data = res.json(){
"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
/sites/{siteId}/workflows/{workflowId}One workflow with its draft and published graphs.
Path parameters
siteIdstringrequiredThe site’s id.
workflowIdstringrequired
Response 200
idstringrequirednamestringrequireddescriptionstringrequiredenabledbooleanrequiredRuns when its trigger fires. Only a published workflow can be on.
draftobjectrequiredA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
liveobjectrequirednullableThe published graph that runs.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
hookanyFor 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/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
siteIdstringrequiredThe site’s id.
workflowIdstringrequired
Request body JSON
namestringup to 120 characters
descriptionstringup to 500 characters
draftobjectA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectdefault {}
xnumberdefault 0
ynumberdefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
enabledboolean
Response 200
idstringrequirednamestringrequireddescriptionstringrequiredenabledbooleanrequiredRuns when its trigger fires. Only a published workflow can be on.
draftobjectrequiredA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
liveobjectrequirednullableThe published graph that runs.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
hookanyFor 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"
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: "Ana",
description: "Building the homepage"
}),
});
const data = await res.json();import os, requests
res = requests.patch(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
json={
"name": "Ana",
"description": "Building the homepage",
},
)
data = res.json(){
"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
/sites/{siteId}/workflows/{workflowId}Delete a workflow and its runs. Owners and admins only.
Path parameters
siteIdstringrequiredThe 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.delete(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"ok": true
}Publish a workflow
/sites/{siteId}/workflows/{workflowId}/publishMake 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
siteIdstringrequiredThe site’s id.
workflowIdstringrequired
Response 200
idstringrequirednamestringrequireddescriptionstringrequiredenabledbooleanrequiredRuns when its trigger fires. Only a published workflow can be on.
draftobjectrequiredA workflow graph: one trigger node and the steps it leads to.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
liveobjectrequirednullableThe published graph that runs.
2 child fields
nodesarray of objectsrequiredup to 100 items
6 child fields
idstringrequiredup to 40 characters
typestringrequiredA node type from GET /workflow-nodes, like trigger.form or people.upsert.
up to 40 characters
labelstringup to 120 characters
configobjectrequireddefault {}
xnumberrequireddefault 0
ynumberrequireddefault 0
edgesarray of objectsrequiredup to 300 items
3 child fields
fromstringrequiredportstringrequiredThe output port: "next", or "true"/"false" after logic.if, or "pass" after logic.filter.
tostringrequired
hookanyFor 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/publish', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/publish",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/workflows/{workflowId}/testRun 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
siteIdstringrequiredThe site’s id.
workflowIdstringrequired
Request body JSON
triggeranyThe 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": {}
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/test', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
trigger: {}
}),
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/test",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
json={
"trigger": {},
},
)
data = res.json(){
"runId": "run_123"
}Run a workflow
/sites/{siteId}/workflows/{workflowId}/runRun 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
siteIdstringrequiredThe 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": {}
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/run', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
input: {}
}),
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/run",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
json={
"input": {},
},
)
data = res.json(){
"runId": "run_123"
}Rotate a webhook secret
/sites/{siteId}/workflows/{workflowId}/hook-secretMake a new signing secret for a published webhook workflow. The old one stops working. Shown once. Owners and admins only.
Path parameters
siteIdstringrequiredThe 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/hook-secret', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/hook-secret",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"secret": "…"
}List a workflow’s runs
/sites/{siteId}/workflows/{workflowId}/runsThe workflow’s recent runs, newest first.
Path parameters
siteIdstringrequiredThe site’s id.
workflowIdstringrequired
Query parameters
limitintegermin 1 · max 200
Response 200
itemsarray of objectsrequired6 child fields
idstringrequiredworkflowIdstringrequiredstatusstringrequiredOne of
queuedrunningwaitingsucceededfailedcancelledsourcestringstepsarraycreatedAtstringrequiredAn 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/runs', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/workflows/wfl_123/runs",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "run_123",
"workflowId": "wfl_123",
"status": "queued",
"source": "website",
"steps": [
{}
],
"createdAt": "2026-11-20T08:00:00.000Z"
}
]
}List runs
/sites/{siteId}/runsRecent runs of every workflow on the site, newest first. Filter by workflow or status.
Path parameters
siteIdstringrequiredThe site’s id.
Query parameters
workflowstringstatusstringOne of
queuedrunningwaitingsucceededfailedcancelledlimitintegermin 1 · max 200
Response 200
itemsarray of objectsrequired6 child fields
idstringrequiredworkflowIdstringrequiredstatusstringrequiredOne of
queuedrunningwaitingsucceededfailedcancelledsourcestringstepsarraycreatedAtstringrequiredAn 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/runs', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/runs",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "run_123",
"workflowId": "wfl_123",
"status": "queued",
"source": "website",
"steps": [
{}
],
"createdAt": "2026-11-20T08:00:00.000Z"
}
]
}Get a run
/sites/{siteId}/runs/{runId}One run with each step: what went in, what came out, and any error.
Path parameters
siteIdstringrequiredThe site’s id.
runIdstringrequired
Response 200
idstringrequiredworkflowIdstringrequiredstatusstringrequiredOne of
queuedrunningwaitingsucceededfailedcancelledsourcestringstepsarraycreatedAtstringrequiredAn 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/runs/run_123', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/runs/run_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"id": "run_123",
"workflowId": "wfl_123",
"status": "queued",
"source": "website",
"steps": [
{}
],
"createdAt": "2026-11-20T08:00:00.000Z"
}