Explore documentation

Get single escalation policy group

Returns a single escalation policy group by ID.

GET https://uptime.betterstack.com/api/v2/policy-groups/:policy_group_id

URL parameters

policy_group_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "95251342",
    "type": "policy_group",
    "attributes": {
      "name": "Log alerts",
      "sort_index": null,
      "created_at": "2024-07-26T15:07:46.350Z",
      "updated_at": "2024-07-26T15:07:46.350Z",
      "team_name": "Test team"
    }
  }
}

Example cURL

Example
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/policy-groups/1234567 \
  --header "Authorization: Bearer $TOKEN"