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": "2ac0d35b-10ab-4b38-bbaa-f32c370f76f9",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "7a69fe50-d920-4241-a5a6-83eb4053d8a1",
      "task": "New task",
      "description": "New task description",
      "priority": "high",
      "created_at": "2025-07-05T07:45:06.359-07:00",
      "updated_at": "2025-07-05T07:45:06.359-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.