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": {
      "task": "<string>",
      "incident_role_id": "<string>",
      "description": "<string>",
      "priority": "high"
    }
  }
}
'
{
  "data": {
    "id": "8240ceb1-3834-412e-891e-a083b469f8f1",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "33e478c3-e0e2-486f-abba-c2c74e06cf25",
      "task": "New task",
      "description": "New task description",
      "priority": "high",
      "created_at": "2026-01-16T12:42:03.774-08:00",
      "updated_at": "2026-01-16T12:42:03.774-08: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