Executing Flow via API (Headless Execution)
Making the Request
Endpoint
POST <BASE_URL>/cgw/process/v1/orgs/<ORG_ID>/flows/<FLOW_ID>/executeExample Request
curl --location '<BASE_URL>/cgw/process/v1/orgs/<ORG_ID>/flows/<FLOW_ID>/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <BEARER_TOKEN>' \
--data '{
"<VARIABLE_1>": "<VARIABLE_1_VALUE>",
"<VARIABLE_2>": "<VARIABLE_2_VALUE>"
}'
Parameters
Variable
Description
Responses
HTTP Status Codes
Description
Example — Success
Example — Failure
Last updated
Was this helpful?