Creates a new playbook from provided data
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": "57e52677-946d-4505-af97-5f058691770a",
"type": "playbooks",
"attributes": {
"title": "How to handle customer-facing incident?",
"summary": "This is a summary",
"external_url": null,
"severity_ids": [],
"environment_ids": [
"9d43213c-378a-44e2-a8bc-eae53fb67536",
"e2a5a694-821e-4165-8253-b09703b6f1ea"
],
"service_ids": [
"ee2ae3f7-da14-4601-8ea2-2d9c4602b594",
"3c98f266-24ed-45c0-aeca-377b2211134c"
],
"functionality_ids": [
"9a9ebc97-3d9f-48d6-8389-9868feb685d5",
"8a96ffad-843e-4d01-9c4b-5f212f0e9f87"
],
"group_ids": [],
"incident_type_ids": [],
"cause_ids": [],
"created_at": "2025-12-23T23:20:29.925-08:00",
"updated_at": "2025-12-23T23:20:29.925-08:00"
},
"relationships": {
"severities": {
"data": []
},
"environments": {
"data": [
{
"id": "9d43213c-378a-44e2-a8bc-eae53fb67536",
"type": "environments"
},
{
"id": "e2a5a694-821e-4165-8253-b09703b6f1ea",
"type": "environments"
}
]
},
"services": {
"data": [
{
"id": "ee2ae3f7-da14-4601-8ea2-2d9c4602b594",
"type": "services"
},
{
"id": "3c98f266-24ed-45c0-aeca-377b2211134c",
"type": "services"
}
]
},
"functionalities": {
"data": [
{
"id": "9a9ebc97-3d9f-48d6-8389-9868feb685d5",
"type": "functionalities"
},
{
"id": "8a96ffad-843e-4d01-9c4b-5f212f0e9f87",
"type": "functionalities"
}
]
},
"groups": {
"data": []
},
"causes": {
"data": []
},
"incident_types": {
"data": []
}
}
}
}Was this page helpful?
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": "57e52677-946d-4505-af97-5f058691770a",
"type": "playbooks",
"attributes": {
"title": "How to handle customer-facing incident?",
"summary": "This is a summary",
"external_url": null,
"severity_ids": [],
"environment_ids": [
"9d43213c-378a-44e2-a8bc-eae53fb67536",
"e2a5a694-821e-4165-8253-b09703b6f1ea"
],
"service_ids": [
"ee2ae3f7-da14-4601-8ea2-2d9c4602b594",
"3c98f266-24ed-45c0-aeca-377b2211134c"
],
"functionality_ids": [
"9a9ebc97-3d9f-48d6-8389-9868feb685d5",
"8a96ffad-843e-4d01-9c4b-5f212f0e9f87"
],
"group_ids": [],
"incident_type_ids": [],
"cause_ids": [],
"created_at": "2025-12-23T23:20:29.925-08:00",
"updated_at": "2025-12-23T23:20:29.925-08:00"
},
"relationships": {
"severities": {
"data": []
},
"environments": {
"data": [
{
"id": "9d43213c-378a-44e2-a8bc-eae53fb67536",
"type": "environments"
},
{
"id": "e2a5a694-821e-4165-8253-b09703b6f1ea",
"type": "environments"
}
]
},
"services": {
"data": [
{
"id": "ee2ae3f7-da14-4601-8ea2-2d9c4602b594",
"type": "services"
},
{
"id": "3c98f266-24ed-45c0-aeca-377b2211134c",
"type": "services"
}
]
},
"functionalities": {
"data": [
{
"id": "9a9ebc97-3d9f-48d6-8389-9868feb685d5",
"type": "functionalities"
},
{
"id": "8a96ffad-843e-4d01-9c4b-5f212f0e9f87",
"type": "functionalities"
}
]
},
"groups": {
"data": []
},
"causes": {
"data": []
},
"incident_types": {
"data": []
}
}
}
}