POST
/
v1
/
playbooks
/
{playbook_id}
/
playbook_tasks
Creates a playbook task
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": "967dd26e-d9c5-4a12-8fc8-1f9eba8fc297",
    "type": "playbook_tasks",
    "attributes": {
      "playbook_id": "951b1c16-2989-4091-8ef6-320fc3e20728",
      "task": "New task",
      "description": "New task description",
      "position": 1,
      "created_at": "2025-07-12T00:18:04.940-07:00",
      "updated_at": "2025-07-12T00:18:04.940-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

playbook_id
string
required

Body

application/vnd.api+json

Response

201
application/vnd.api+json

playbook_task created

The response is of type object.