List escalation policies
curl --request GET \
--url https://api.rootly.com/v1/escalation_policies \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "escalation_policies",
"attributes": {
"name": "<string>",
"description": "<string>",
"repeat_count": 123,
"created_by_user_id": 123,
"last_updated_by_user_id": 123,
"group_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"business_hours": {
"time_zone": "<string>",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
comma separated if needed. eg: escalation_policy_levels,escalation_policy_paths
escalation_policy_levels
, escalation_policy_paths
, groups
, services
success
The response is of type object
.
curl --request GET \
--url https://api.rootly.com/v1/escalation_policies \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "escalation_policies",
"attributes": {
"name": "<string>",
"description": "<string>",
"repeat_count": 123,
"created_by_user_id": 123,
"last_updated_by_user_id": 123,
"group_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"business_hours": {
"time_zone": "<string>",
"days": [
"M"
],
"start_time": "<string>",
"end_time": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}