Skip to main content
PUT
/
v1
/
workflow_tasks
/
{id}
Update a workflow task
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": "<any>"
    }
  }
}'
{
  "data": {
    "id": "3ae5688e-cd5c-4109-a9ee-71a700870a7b",
    "type": "workflow_tasks",
    "attributes": {
      "workflow_id": "09e6b32a-5651-4817-8d6b-9b0a51b5ad3f",
      "task_params": {
        "task_type": "send_email",
        "from": "Rootly <workflows@rootly.com>",
        "to": [
          "ratione"
        ],
        "cc": [],
        "bcc": [],
        "subject": "Laborum quae error voluptas.",
        "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-10-06T09:28:01.326-07:00",
      "updated_at": "2025-10-06T09:28:02.213-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

workflow_task updated

data
object
required
I