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": "9e821718-93b2-4cfd-ace0-b1d4de91398d",
    "type": "workflow_runs",
    "attributes": {
      "kind": "incident",
      "status": "queued",
      "status_message": null,
      "triggered_by": "user",
      "user_id": 139,
      "queued_at": "2025-05-08T00:19:12.375-07:00",
      "started_at": null,
      "completed_at": null,
      "failed_at": null,
      "canceled_at": null,
      "updated_at": "2025-05-08T00:19:12.375-07:00",
      "created_at": "2025-05-08T00:19:12.375-07:00",
      "incident_id": "707edb5e-8766-459a-94c7-b165fd73c441",
      "post_mortem_id": null,
      "action_item_id": null,
      "alert_id": null,
      "pulse_id": null,
      "workflow_id": "f74f0426-cf01-4811-861c-82b4fd1eb394",
      "workflow_name": "The General"
    },
    "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.