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": "f9f97df0-39df-4122-850d-157c6c6d4c32",
    "type": "workflow_tasks",
    "attributes": {
      "workflow_id": "f4cd4e90-3cf5-4d7e-abe8-c0fa71ad2a8b",
      "task_params": {
        "task_type": "send_email",
        "from": "Rootly <workflows@rootly.com>",
        "to": [
          "voluptas"
        ],
        "cc": [],
        "bcc": [],
        "subject": "Voluptate ex id ea.",
        "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-11-06T13:23:10.789-08:00",
      "updated_at": "2025-11-06T13:23:12.434-08: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