Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Response
escalation policy created
Creates a new escalation policy from provided data
curl --request POST \
--url https://api.rootly.com/v1/escalation_policies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_policies",
"attributes": {
"name": "<string>",
"description": "<string>",
"repeat_count": 123,
"group_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"business_hours": {
"time_zone": "International Date Line West",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
}
}
}
}'
{
"data": {
"id": "bea3c508-77d5-48e4-83fd-b6478c1c7f94",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 5,
"created_by_user_id": 128,
"last_updated_by_user_id": 128,
"group_ids": [
"d1efc9e3-62ca-4bf2-9b45-0b94499d52bd"
],
"service_ids": [],
"business_hours": {
"time_zone": "America/New_York",
"days": [
"M",
"T",
"W",
"R",
"F"
],
"start_time": "09:00 AM",
"end_time": "05:00 PM"
},
"created_at": "2025-10-18T00:49:27.131-07:00",
"updated_at": "2025-10-18T00:49:27.131-07:00"
},
"relationships": {
"escalation_levels": {
"data": []
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "d1efc9e3-62ca-4bf2-9b45-0b94499d52bd",
"type": "groups"
}
]
},
"services": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
escalation policy created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/escalation_policies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_policies",
"attributes": {
"name": "<string>",
"description": "<string>",
"repeat_count": 123,
"group_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"business_hours": {
"time_zone": "International Date Line West",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
}
}
}
}'
{
"data": {
"id": "bea3c508-77d5-48e4-83fd-b6478c1c7f94",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 5,
"created_by_user_id": 128,
"last_updated_by_user_id": 128,
"group_ids": [
"d1efc9e3-62ca-4bf2-9b45-0b94499d52bd"
],
"service_ids": [],
"business_hours": {
"time_zone": "America/New_York",
"days": [
"M",
"T",
"W",
"R",
"F"
],
"start_time": "09:00 AM",
"end_time": "05:00 PM"
},
"created_at": "2025-10-18T00:49:27.131-07:00",
"updated_at": "2025-10-18T00:49:27.131-07:00"
},
"relationships": {
"escalation_levels": {
"data": []
},
"escalation_paths": {
"data": []
},
"groups": {
"data": [
{
"id": "d1efc9e3-62ca-4bf2-9b45-0b94499d52bd",
"type": "groups"
}
]
},
"services": {
"data": []
}
}
}
}