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": "64cf9ac7-66d6-4506-b198-3e2733a67b03",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "2a8aad76-21a0-45a5-80d2-de58e8cb7774",
"task": "New task",
"description": "New task description",
"priority": "high",
"created_at": "2025-12-24T09:26:29.752-08:00",
"updated_at": "2025-12-24T09:26:29.752-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
incident_role_task created
Show child attributes
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": "64cf9ac7-66d6-4506-b198-3e2733a67b03",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "2a8aad76-21a0-45a5-80d2-de58e8cb7774",
"task": "New task",
"description": "New task description",
"priority": "high",
"created_at": "2025-12-24T09:26:29.752-08:00",
"updated_at": "2025-12-24T09:26:29.752-08:00"
}
}
}