POST
/
v1
/
playbooks
curl --request POST \
  --url https://api.rootly.com/v1/playbooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "playbooks",
    "attributes": {
      "title": "<string>",
      "summary": "<string>",
      "external_url": "<string>",
      "severity_ids": [
        "<string>"
      ],
      "environment_ids": [
        "<string>"
      ],
      "service_ids": [
        "<string>"
      ],
      "functionality_ids": [
        "<string>"
      ],
      "group_ids": [
        "<string>"
      ],
      "incident_type_ids": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "14426f38-b462-4259-9f3c-be22b773c642",
    "type": "playbooks",
    "attributes": {
      "title": "How to handle customer-facing incident?",
      "summary": "This is a summary",
      "external_url": null,
      "severity_ids": [],
      "environment_ids": [
        "ef7845c8-0e57-4b51-b28e-087a00098643",
        "ff7cb689-9f18-4b47-a3d6-872a15a9dbdb"
      ],
      "service_ids": [
        "db7c2eb5-f808-432b-a1ea-86a539b45260",
        "582ea111-387c-4e88-812a-f94a1a98a8b6"
      ],
      "functionality_ids": [
        "595302cf-c087-4527-b66a-41125b818e77",
        "3a055ae7-4354-4cfb-918e-1c84055685e6"
      ],
      "group_ids": [],
      "incident_type_ids": [],
      "cause_ids": [],
      "created_at": "2025-04-18T09:51:25.765-07:00",
      "updated_at": "2025-04-18T09:51:25.765-07:00"
    },
    "relationships": {
      "severities": {
        "data": []
      },
      "environments": {
        "data": [
          {
            "id": "ef7845c8-0e57-4b51-b28e-087a00098643",
            "type": "environments"
          },
          {
            "id": "ff7cb689-9f18-4b47-a3d6-872a15a9dbdb",
            "type": "environments"
          }
        ]
      },
      "services": {
        "data": [
          {
            "id": "db7c2eb5-f808-432b-a1ea-86a539b45260",
            "type": "services"
          },
          {
            "id": "582ea111-387c-4e88-812a-f94a1a98a8b6",
            "type": "services"
          }
        ]
      },
      "functionalities": {
        "data": [
          {
            "id": "595302cf-c087-4527-b66a-41125b818e77",
            "type": "functionalities"
          },
          {
            "id": "3a055ae7-4354-4cfb-918e-1c84055685e6",
            "type": "functionalities"
          }
        ]
      },
      "groups": {
        "data": []
      },
      "causes": {
        "data": []
      },
      "incident_types": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
playbook created
data
object
required