Skip to main content
POST
/
run
/
workflow
Run Workflow
curl --request POST \
  --url https://production.runalloy.com/run/workflow \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-version: <x-api-version>' \
  --data '{
  "workflowName": "<string>",
  "workflowId": "<string>",
  "userId": "<string>",
  "data": {
    "key": "value"
  }
}'
{
  "message": "success"
}

Headers

Authorization
string
default:bearer YOUR_API_KEY
required
x-api-version
string
default:2025-09
required

The version of the API to use. The current API version is 2025-09.

Body

application/json
workflowName
string
required

The name of the workflow to run.

workflowId
string
required

The Id of the workflow to activate. If you pass this parameter, then workflowName is not required.

userId
string
required

The Id of the user you want to lookup. Returned from the Create User endpoint. Note: you can also use the Embedded user's username in this field.

data
object
required

The key-value pairs you want to send as defined in the webhook trigger. This data will be used in expressions during the workflow execution.

Example:
{ "key": "value" }

Response

200 - application/json

200

message
string
Example:

"success"

I