---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies"
tags: ["Policy"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Lists all the Global Policy definitions of the Api Management service.

## Path parameters

- `resourceGroupName` string, required
- `serviceName` string, required
- `subscriptionId` string, required

## Query parameters

- `scope` 'Tenant' | 'Product' | 'Api' | 'Operation' | 'All'
- `api-version` string, required

## Response `200`

Returns an array of Policy Contracts.

- PolicyCollection: The response of the list policy operation.
  - `value` PolicyContract[]: Policy Contract value.
    - `id` string: Resource ID.
    - `name` string: Resource name.
    - `type` string: Resource type for API Management resource.
    - `properties` PolicyContractProperties: Policy contract Properties.
      - `policyContent` string, required: Json escaped Xml Encoded contents of the Policy.
      - `contentFormat` 'xml' | 'xml-link' | 'rawxml' | 'rawxml-link': Format of the policyContent.
  - `nextLink` string: Next page link if any.

---

[API](https://skmtc.dev/azure/apis/apimanagementclient.md) - [All operations](https://skmtc.dev/azure/apis/apimanagementclient/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/apimanagementclient/revisions/386f6496ba40?raw)
