Creates a new task from provided data
curl --request POST \
--url https://api.rootly.com/v1/playbooks/{playbook_id}/playbook_tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "playbook_tasks",
"attributes": {
"task": "<string>",
"description": "<string>",
"position": 123
}
}
}
'{
"data": {
"id": "6ca6e546-5956-4d49-8f24-15aa3aa2b35e",
"type": "playbook_tasks",
"attributes": {
"playbook_id": "c4c1dc6a-c82c-46e2-b8af-82093eb50b3a",
"task": "New task",
"description": "New task description",
"position": 1,
"created_at": "2026-01-23T22:59:28.881-08:00",
"updated_at": "2026-01-23T22:59:28.881-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
playbook_task created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/playbooks/{playbook_id}/playbook_tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "playbook_tasks",
"attributes": {
"task": "<string>",
"description": "<string>",
"position": 123
}
}
}
'{
"data": {
"id": "6ca6e546-5956-4d49-8f24-15aa3aa2b35e",
"type": "playbook_tasks",
"attributes": {
"playbook_id": "c4c1dc6a-c82c-46e2-b8af-82093eb50b3a",
"task": "New task",
"description": "New task description",
"position": 1,
"created_at": "2026-01-23T22:59:28.881-08:00",
"updated_at": "2026-01-23T22:59:28.881-08:00"
}
}
}