Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
workflow task created
Creates a new workflow task from provided data
curl --request POST \
--url https://api.rootly.com/v1/workflows/{workflow_id}/workflow_tasks \
--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": "4670d9d2-cacc-4ca9-8a14-a800417c0ecb",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "ad9f85e9-74fb-4b1e-a822-a09fc77b0126",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"test@example.com"
],
"cc": [],
"bcc": [],
"subject": "Hello from Rootly",
"preheader": null,
"body": "Hello from Rootly",
"include_header": true,
"include_footer": true,
"custom_logo_url": null
},
"name": "My Custom Name",
"position": 2,
"skip_on_failure": false,
"enabled": true,
"created_at": "2025-11-18T09:54:24.076-08:00",
"updated_at": "2025-11-18T09:54:24.076-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
workflow task created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/workflows/{workflow_id}/workflow_tasks \
--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": "4670d9d2-cacc-4ca9-8a14-a800417c0ecb",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "ad9f85e9-74fb-4b1e-a822-a09fc77b0126",
"task_params": {
"task_type": "send_email",
"from": "Rootly <workflows@rootly.com>",
"to": [
"test@example.com"
],
"cc": [],
"bcc": [],
"subject": "Hello from Rootly",
"preheader": null,
"body": "Hello from Rootly",
"include_header": true,
"include_footer": true,
"custom_logo_url": null
},
"name": "My Custom Name",
"position": 2,
"skip_on_failure": false,
"enabled": true,
"created_at": "2025-11-18T09:54:24.076-08:00",
"updated_at": "2025-11-18T09:54:24.076-08:00"
}
}
}