Execute Workflow
Execute a workflow asynchronously. Returns immediately with an execution ID that you can use to track progress.
POST /api/v1/workflows/:id/execute
Required Scopes: workflows:read, workflows:execute
Request
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Workflow ID |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
inputs | object | No | Input variables for workflow |
Example
curl -X POST "https://api.flowmaestro.ai/v1/workflows/wf_abc123/execute" \
-H "X-API-Key: fm_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"inputs": {
"customer_email": "john@example.com",
"customer_name": "John Doe"
}
}'