Run Workflow
Start a run and get its id back right away. Execution is asynchronous: poll Get Run to follow it. Needs the workflow:run permission.
POST
Path
Path parameters
stringrequired
The id of the workflow to run. It must be enabled.
Headers
Optional headers
string
Optional. The id of a child organization of your API key's company to act on. Leave it out to act on the key's own company. See Child organizations.
Body
Arguments
string
"published" (default) or "draft".
Default: published
publisheddraft
string
The environment to run in, from List Environments.
Response fields
idstringThe workflow log id. Poll GET /v2/runs/:runId with this id for the outcome.
workflowIdstringThe workflow that was started.
statusstringAlways waiting: the run is queued.
waiting
versionstringThe version that runs: published or draft.
publisheddraft
environmentIdstringThe environment it runs in, or null for the default.