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": "e7e16ddc-23fe-4cb6-9c56-2b1b36932f24",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "14eb15c9-9f80-42d1-bb52-6ac3f3724d04",
      "task": "New task",
      "description": "New task description",
      "priority": "high",
      "created_at": "2025-03-28T23:02:22.904-07:00",
      "updated_at": "2025-03-28T23:02:22.904-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

201
application/vnd.api+json
incident_role_task created
data
object
required