Creates a new workflow run from provided data
curl --request POST \
--url https://api.rootly.com/v1/workflows/{workflow_id}/workflow_runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_runs",
"attributes": {
"immediate": true,
"check_conditions": false,
"context": {}
}
}
}'
{
"data": {
"id": "566727f0-36dc-4f2d-a6ec-37cd17b8bdf0",
"type": "workflow_runs",
"attributes": {
"kind": "incident",
"status": "queued",
"status_message": null,
"triggered_by": "user",
"user_id": 165,
"queued_at": "2025-08-30T08:02:45.066-07:00",
"started_at": null,
"completed_at": null,
"failed_at": null,
"canceled_at": null,
"updated_at": "2025-08-30T08:02:45.066-07:00",
"created_at": "2025-08-30T08:02:45.066-07:00",
"incident_id": "754affd5-8c8d-4f1a-896b-e5a7667b9f95",
"post_mortem_id": null,
"action_item_id": null,
"alert_id": null,
"pulse_id": null,
"workflow_id": "c4a01164-c40f-4acf-a0ca-ed1c32b4e22b",
"workflow_name": "Eternal Sunshine of the Spotless Mind"
},
"relationships": {
"task_runs": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
workflow run created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/workflows/{workflow_id}/workflow_runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_runs",
"attributes": {
"immediate": true,
"check_conditions": false,
"context": {}
}
}
}'
{
"data": {
"id": "566727f0-36dc-4f2d-a6ec-37cd17b8bdf0",
"type": "workflow_runs",
"attributes": {
"kind": "incident",
"status": "queued",
"status_message": null,
"triggered_by": "user",
"user_id": 165,
"queued_at": "2025-08-30T08:02:45.066-07:00",
"started_at": null,
"completed_at": null,
"failed_at": null,
"canceled_at": null,
"updated_at": "2025-08-30T08:02:45.066-07:00",
"created_at": "2025-08-30T08:02:45.066-07:00",
"incident_id": "754affd5-8c8d-4f1a-896b-e5a7667b9f95",
"post_mortem_id": null,
"action_item_id": null,
"alert_id": null,
"pulse_id": null,
"workflow_id": "c4a01164-c40f-4acf-a0ca-ed1c32b4e22b",
"workflow_name": "Eternal Sunshine of the Spotless Mind"
},
"relationships": {
"task_runs": {
"data": []
}
}
}
}