POST
/
apis
/
request
/
workflow
/
run
curl --request POST \
--url https://api.nfig.ai/apis/request/run/workflows \
--header 'api-key: <api-key>' \
--header 'content-type: application/json' \
--data '{
  "workflowId": "<workflowId>"
}'
{
  "sessionId": "<string>",
  "previewUrl": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
workflowId
string
required

workflow id for initiating a run

proxy
boolean
default:
false

Turn on proxy for workflow session

variables
object

An object with dynamic keys and values

Response

200 - application/json
Success Response
sessionId
string
required

Workflow session id

previewUrl
string
required

Live preview url for the workflow session