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": "42380f47-db16-4a5e-97db-112973d0d62c",
    "type": "incident_role_tasks",
    "attributes": {
      "incident_role_id": "6f5f8233-4d7e-49c5-960e-bbaa1b5ae08b",
      "task": "New task",
      "description": "New task description",
      "priority": "high",
      "created_at": "2025-05-29T17:45:24.791-07:00",
      "updated_at": "2025-05-29T17:45:24.791-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.