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": "1d670e39-f187-42fb-b659-38bb7c1d3c6d",
"type": "playbooks",
"attributes": {
"title": "How to handle customer-facing incident?",
"summary": "This is a summary",
"external_url": null,
"severity_ids": [],
"environment_ids": [
"d67470ab-8800-46f6-8eb2-a5f7b127e02a",
"5351f41c-baeb-4983-84b1-c079d7cfca55"
],
"service_ids": [
"ffcee850-6f62-481d-8d15-63b95f939c2f",
"cbeeb4c9-18e9-4a93-a216-3b3fb32e23ad"
],
"functionality_ids": [
"9270600a-dd7c-4b20-ad3d-d320fea70d8f",
"29a236df-a495-4e6b-81f1-96ceab54c39d"
],
"group_ids": [],
"incident_type_ids": [],
"cause_ids": [],
"created_at": "2025-12-22T14:56:31.246-08:00",
"updated_at": "2025-12-22T14:56:31.246-08:00"
},
"relationships": {
"severities": {
"data": []
},
"environments": {
"data": [
{
"id": "d67470ab-8800-46f6-8eb2-a5f7b127e02a",
"type": "environments"
},
{
"id": "5351f41c-baeb-4983-84b1-c079d7cfca55",
"type": "environments"
}
]
},
"services": {
"data": [
{
"id": "ffcee850-6f62-481d-8d15-63b95f939c2f",
"type": "services"
},
{
"id": "cbeeb4c9-18e9-4a93-a216-3b3fb32e23ad",
"type": "services"
}
]
},
"functionalities": {
"data": [
{
"id": "9270600a-dd7c-4b20-ad3d-d320fea70d8f",
"type": "functionalities"
},
{
"id": "29a236df-a495-4e6b-81f1-96ceab54c39d",
"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": "1d670e39-f187-42fb-b659-38bb7c1d3c6d",
"type": "playbooks",
"attributes": {
"title": "How to handle customer-facing incident?",
"summary": "This is a summary",
"external_url": null,
"severity_ids": [],
"environment_ids": [
"d67470ab-8800-46f6-8eb2-a5f7b127e02a",
"5351f41c-baeb-4983-84b1-c079d7cfca55"
],
"service_ids": [
"ffcee850-6f62-481d-8d15-63b95f939c2f",
"cbeeb4c9-18e9-4a93-a216-3b3fb32e23ad"
],
"functionality_ids": [
"9270600a-dd7c-4b20-ad3d-d320fea70d8f",
"29a236df-a495-4e6b-81f1-96ceab54c39d"
],
"group_ids": [],
"incident_type_ids": [],
"cause_ids": [],
"created_at": "2025-12-22T14:56:31.246-08:00",
"updated_at": "2025-12-22T14:56:31.246-08:00"
},
"relationships": {
"severities": {
"data": []
},
"environments": {
"data": [
{
"id": "d67470ab-8800-46f6-8eb2-a5f7b127e02a",
"type": "environments"
},
{
"id": "5351f41c-baeb-4983-84b1-c079d7cfca55",
"type": "environments"
}
]
},
"services": {
"data": [
{
"id": "ffcee850-6f62-481d-8d15-63b95f939c2f",
"type": "services"
},
{
"id": "cbeeb4c9-18e9-4a93-a216-3b3fb32e23ad",
"type": "services"
}
]
},
"functionalities": {
"data": [
{
"id": "9270600a-dd7c-4b20-ad3d-d320fea70d8f",
"type": "functionalities"
},
{
"id": "29a236df-a495-4e6b-81f1-96ceab54c39d",
"type": "functionalities"
}
]
},
"groups": {
"data": []
},
"causes": {
"data": []
},
"incident_types": {
"data": []
}
}
}
}