Update a specific workflow task by id
curl --request PUT \
--url https://api.rootly.com/v1/workflow_tasks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_tasks",
"attributes": {
"name": "<string>",
"position": 123,
"skip_on_failure": true,
"enabled": true,
"task_params": {
"task_type": "add_action_item",
"attribute_to_query_by": "jira_issue_id",
"query_value": "<string>",
"incident_role_id": "<string>",
"assigned_to_user_id": "<string>",
"assigned_to_user": {
"id": "<string>",
"name": "<string>"
},
"priority": "high",
"kind": "<string>",
"summary": "<string>",
"description": "<string>",
"status": "open",
"post_to_incident_timeline": true,
"custom_fields_mapping": "<string>",
"post_to_slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
}'
{
"data": {
"id": "f800d9ba-a572-49ea-9c62-542757ef30b7",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "a91bdd71-5520-455c-b187-043dc8b3c0df",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"consequuntur"
],
"cc": [],
"bcc": [],
"subject": "Veniam non sit qui.",
"preheader": null,
"body": "updated",
"include_header": true,
"include_footer": true,
"custom_logo_url": null
},
"name": "Another name",
"position": 2,
"skip_on_failure": true,
"enabled": false,
"created_at": "2025-09-01T03:38:53.532-07:00",
"updated_at": "2025-09-01T03:38:54.983-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
workflow_task updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/workflow_tasks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_tasks",
"attributes": {
"name": "<string>",
"position": 123,
"skip_on_failure": true,
"enabled": true,
"task_params": {
"task_type": "add_action_item",
"attribute_to_query_by": "jira_issue_id",
"query_value": "<string>",
"incident_role_id": "<string>",
"assigned_to_user_id": "<string>",
"assigned_to_user": {
"id": "<string>",
"name": "<string>"
},
"priority": "high",
"kind": "<string>",
"summary": "<string>",
"description": "<string>",
"status": "open",
"post_to_incident_timeline": true,
"custom_fields_mapping": "<string>",
"post_to_slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
}'
{
"data": {
"id": "f800d9ba-a572-49ea-9c62-542757ef30b7",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "a91bdd71-5520-455c-b187-043dc8b3c0df",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"consequuntur"
],
"cc": [],
"bcc": [],
"subject": "Veniam non sit qui.",
"preheader": null,
"body": "updated",
"include_header": true,
"include_footer": true,
"custom_logo_url": null
},
"name": "Another name",
"position": 2,
"skip_on_failure": true,
"enabled": false,
"created_at": "2025-09-01T03:38:53.532-07:00",
"updated_at": "2025-09-01T03:38:54.983-07:00"
}
}
}