# List policies in a group

Returns escalation policies belonging to the given policy group. This endpoint [supports pagination](https://betterstack.com/docs/uptime/api/pagination/).

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v3/policy-groups/{policy_group_id}/policies"
method = "GET"

[[path_param]]
name = "policy_group_id"
description = "The ID of the policy group you want to get policies from."
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns a paginated list of escalation policies in the specified group.'''
body = '''{
  "data": [
    {
      "id": "456",
      "type": "policy",
      "attributes": {
        "name": "Policy A",
        "repeat_count": 5,
        "repeat_delay": 0,
        "incident_token": "8nEiLj2gfqjfQRK6vzkFuGC25",
        "policy_group_id": 123,
        "team_name": "Test team",
        "steps": [
          {
            "type": "escalation",
            "wait_before": 0,
            "urgency_id": 12345,
            "step_members": [
              { "type": "all_slack_integrations" },
              { "type": "current_on_call" }
            ]
          }
        ]
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v3/policy-groups/123/policies?page=1",
    "last": "https://uptime.betterstack.com/api/v3/policy-groups/123/policies?page=1",
    "prev": null,
    "next": null
  }
}'''
[/responses]

#### Example cURL

```shell
[label Example]
curl --request GET \
  --url https://uptime.betterstack.com/api/v3/policy-groups/123/policies \
  --header "Authorization: Bearer $TOKEN"
```

[info]
#### Looking for the details of a specific parameter?
Explore [the list of all escalation policies API parameters](https://betterstack.com/docs/uptime/api/escalation-policies-api-response-params/)
[/info]
