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": "c3b3b3b0-00f5-4607-9ea5-319ab4ce68cb",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "52c3e7e5-db88-462a-a070-0cf237013b1e",
      "task": "New task",
      "description": "New task description",
      "priority": "high",
      "created_at": "2025-05-08T00:21:40.205-07:00",
      "updated_at": "2025-05-08T00:21:40.205-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.