POST
/
v1
/
incident_roles
/
{incident_role_id}
/
incident_role_tasks
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": "d6d1be2f-bfa9-4b32-8db5-b009c23ba921",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "95ae93e4-529a-40a3-9c48-33f83a3b4d39",
      "task": "New task",
      "description": "New task description",
      "priority": "high",
      "created_at": "2025-06-19T04:15:41.552-07:00",
      "updated_at": "2025-06-19T04:15:41.552-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

Response

201
application/vnd.api+json

incident_role_task created

The response is of type object.