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": {
"priority": "high",
"summary": "<string>",
"status": "open",
"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>"
},
"kind": "<string>",
"description": "<string>",
"post_to_incident_timeline": true,
"custom_fields_mapping": "<string>",
"post_to_slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
}
'{
"data": {
"id": "141ee62b-a1c3-429c-bf78-875aef6f5b57",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "169e6170-254c-4d77-a3f8-3448f604fb5d",
"task_params": {
"task_type": "send_email",
"from": "Rootly <[email protected]>",
"to": [
"unde"
],
"cc": [],
"bcc": [],
"subject": "Est assumenda dolorem reprehenderit.",
"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-12-18T10:02:21.556-08:00",
"updated_at": "2025-12-18T10:02:22.149-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
workflow_task updated
Show child attributes
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": {
"priority": "high",
"summary": "<string>",
"status": "open",
"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>"
},
"kind": "<string>",
"description": "<string>",
"post_to_incident_timeline": true,
"custom_fields_mapping": "<string>",
"post_to_slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
}
'{
"data": {
"id": "141ee62b-a1c3-429c-bf78-875aef6f5b57",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "169e6170-254c-4d77-a3f8-3448f604fb5d",
"task_params": {
"task_type": "send_email",
"from": "Rootly <[email protected]>",
"to": [
"unde"
],
"cc": [],
"bcc": [],
"subject": "Est assumenda dolorem reprehenderit.",
"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-12-18T10:02:21.556-08:00",
"updated_at": "2025-12-18T10:02:22.149-08:00"
}
}
}