Skip to main content
POST
/
v1
/
workflows
/
{workflow_id}
/
workflow_runs
Creates a workflow run
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": "d90f5727-82e3-4ff5-927e-9085ce0f9b14",
    "type": "workflow_runs",
    "attributes": {
      "kind": "incident",
      "status": "queued",
      "status_message": null,
      "triggered_by": "user",
      "user_id": 194,
      "queued_at": "2025-11-20T15:52:32.220-08:00",
      "started_at": null,
      "completed_at": null,
      "failed_at": null,
      "canceled_at": null,
      "updated_at": "2025-11-20T15:52:32.219-08:00",
      "created_at": "2025-11-20T15:52:32.219-08:00",
      "incident_id": "5346e76f-9589-4ded-8190-8560dc8535d9",
      "post_mortem_id": null,
      "action_item_id": null,
      "alert_id": null,
      "pulse_id": null,
      "workflow_id": "f3511796-abc1-4b4d-a0f1-27acf908f9ed",
      "workflow_name": "The Truman Show"
    },
    "relationships": {
      "task_runs": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string
required

Body

application/vnd.api+json
data
object
required

Response

workflow run created

data
object
required