POST
/
v1
/
workflows
/
{workflow_id}
/
workflow_runs
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": "7fb3056e-c1c0-4b36-aeb2-aa987fe1ee97",
    "type": "workflow_runs",
    "attributes": {
      "kind": "incident",
      "status": "queued",
      "status_message": null,
      "triggered_by": "user",
      "user_id": 148,
      "queued_at": "2025-06-19T02:40:01.030-07:00",
      "started_at": null,
      "completed_at": null,
      "failed_at": null,
      "canceled_at": null,
      "updated_at": "2025-06-19T02:40:01.030-07:00",
      "created_at": "2025-06-19T02:40:01.030-07:00",
      "incident_id": "83cf892c-1085-4ba1-a06d-7440607e0729",
      "post_mortem_id": null,
      "action_item_id": null,
      "alert_id": null,
      "pulse_id": null,
      "workflow_id": "751a3729-c6c3-4e28-8236-2aad445f8d86",
      "workflow_name": "Citizen Kane"
    },
    "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

Response

201
application/vnd.api+json

workflow run created

The response is of type object.