Creates a new task from provided data
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": {
"task": "<string>",
"incident_role_id": "<string>",
"description": "<string>",
"priority": "high"
}
}
}
'{
"data": {
"id": "cfb7e037-c7c5-431d-9dc9-cbcd0f6fde6f",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "48f81258-1495-4e70-8e06-baeb9ba68719",
"task": "New task",
"description": "New task description",
"priority": "high",
"created_at": "2025-12-05T21:26:30.256-08:00",
"updated_at": "2025-12-05T21:26:30.256-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
incident_role_tasks Show child attributes
incident_role_task created
Show child attributes
Unique ID of the incident task
incident_role_tasks Show child attributes
The task of the incident task
Date of creation
Date of last update
The description of incident task
The priority of the incident task
high, medium, low Was this page helpful?
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": {
"task": "<string>",
"incident_role_id": "<string>",
"description": "<string>",
"priority": "high"
}
}
}
'{
"data": {
"id": "cfb7e037-c7c5-431d-9dc9-cbcd0f6fde6f",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "48f81258-1495-4e70-8e06-baeb9ba68719",
"task": "New task",
"description": "New task description",
"priority": "high",
"created_at": "2025-12-05T21:26:30.256-08:00",
"updated_at": "2025-12-05T21:26:30.256-08:00"
}
}
}