Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
incident_role_task created
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": {
"incident_role_id": "<string>",
"task": "<string>",
"description": "<string>",
"priority": "high"
}
}
}'
{
"data": {
"id": "6e7ae8e8-c2eb-435a-af78-5b9ac7e550c7",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "c54088f4-3d16-48da-94f5-4548e263714f",
"task": "New task",
"description": "New task description",
"priority": "high",
"created_at": "2025-10-21T23:29:12.100-07:00",
"updated_at": "2025-10-21T23:29:12.100-07: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": {
"incident_role_id": "<string>",
"task": "<string>",
"description": "<string>",
"priority": "high"
}
}
}'
{
"data": {
"id": "6e7ae8e8-c2eb-435a-af78-5b9ac7e550c7",
"type": "incident_role_tasks",
"attributes": {
"incident_role_id": "c54088f4-3d16-48da-94f5-4548e263714f",
"task": "New task",
"description": "New task description",
"priority": "high",
"created_at": "2025-10-21T23:29:12.100-07:00",
"updated_at": "2025-10-21T23:29:12.100-07:00"
}
}
}