Skip to main content
POST
/
v1
/
incident_roles
/
{incident_role_id}
/
incident_role_tasks
Creates an incident role task
curl --request POST \
  --url https://api.rootly.com/v1/incident_roles/{incident_role_id}/incident_role_tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "<string>",
      "task": "<string>",
      "description": "<string>",
      "priority": "high"
    }
  }
}'
{
  "data": {
    "id": "f2fec81f-781a-43d0-a34f-22e5294f837a",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "dff26baf-cc8b-42e7-ae68-84dcf40e16f8",
      "task": "New task",
      "description": "New task description",
      "priority": "high",
      "created_at": "2025-10-07T00:19:43.014-07:00",
      "updated_at": "2025-10-07T00:19:43.014-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

incident_role_id
string
required

Body

application/vnd.api+json
data
object
required

Response

incident_role_task created

data
object
required
I