Skip to main content
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": "8227bfa3-3a09-4562-b30c-3d629a96f5c8",
    "type": "playbook_tasks",
    "attributes": {
      "playbook_id": "9f64ee12-6a58-4992-af66-8ce442c3bf87",
      "task": "New task",
      "description": "New task description",
      "position": 1,
      "created_at": "2025-12-24T09:27:31.949-08:00",
      "updated_at": "2025-12-24T09:27:31.949-08: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
data
object
required

Response

playbook_task created

data
object
required