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": "7b8f7480-1f26-4417-b3a2-3c6c99d71f9c",
"type": "workflow_runs",
"attributes": {
"kind": "incident",
"status": "queued",
"status_message": null,
"triggered_by": "user",
"user_id": 197,
"queued_at": "2025-12-24T09:25:05.579-08:00",
"started_at": null,
"completed_at": null,
"failed_at": null,
"canceled_at": null,
"updated_at": "2025-12-24T09:25:05.579-08:00",
"created_at": "2025-12-24T09:25:05.579-08:00",
"incident_id": "0fb71b75-8607-44d8-b476-f5adeb38190e",
"post_mortem_id": null,
"action_item_id": null,
"alert_id": null,
"pulse_id": null,
"workflow_id": "c711194d-0886-4997-8436-6903744d7c34",
"workflow_name": "The Godfather"
},
"relationships": {
"task_runs": {
"data": []
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
workflow run created
Show child attributes
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": "7b8f7480-1f26-4417-b3a2-3c6c99d71f9c",
"type": "workflow_runs",
"attributes": {
"kind": "incident",
"status": "queued",
"status_message": null,
"triggered_by": "user",
"user_id": 197,
"queued_at": "2025-12-24T09:25:05.579-08:00",
"started_at": null,
"completed_at": null,
"failed_at": null,
"canceled_at": null,
"updated_at": "2025-12-24T09:25:05.579-08:00",
"created_at": "2025-12-24T09:25:05.579-08:00",
"incident_id": "0fb71b75-8607-44d8-b476-f5adeb38190e",
"post_mortem_id": null,
"action_item_id": null,
"alert_id": null,
"pulse_id": null,
"workflow_id": "c711194d-0886-4997-8436-6903744d7c34",
"workflow_name": "The Godfather"
},
"relationships": {
"task_runs": {
"data": []
}
}
}
}