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": "ff9e475d-f3f6-4560-9be4-5894238dc705",
"type": "playbook_tasks",
"attributes": {
"playbook_id": "e74feae8-ba1b-43e3-8636-6d67024e258f",
"task": "New task",
"description": "New task description",
"position": 1,
"created_at": "2025-07-17T11:05:46.752-07:00",
"updated_at": "2025-07-17T11:05:46.752-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
playbook_task created
The response is of type object
.
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": "ff9e475d-f3f6-4560-9be4-5894238dc705",
"type": "playbook_tasks",
"attributes": {
"playbook_id": "e74feae8-ba1b-43e3-8636-6d67024e258f",
"task": "New task",
"description": "New task description",
"position": 1,
"created_at": "2025-07-17T11:05:46.752-07:00",
"updated_at": "2025-07-17T11:05:46.752-07:00"
}
}
}