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": "bd3e1033-0d97-4c0f-bd4e-ae34f83da9ba",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "7f3948b1-fafd-4100-8461-4631f3d0995c",
"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-10-08T19:32:45.628-07:00",
"updated_at": "2025-10-08T19:32:45.628-07: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": "bd3e1033-0d97-4c0f-bd4e-ae34f83da9ba",
"type": "workflow_tasks",
"attributes": {
"workflow_id": "7f3948b1-fafd-4100-8461-4631f3d0995c",
"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-10-08T19:32:45.628-07:00",
"updated_at": "2025-10-08T19:32:45.628-07:00"
}
}
}