---
title: "List Access Policies"
method: GET
path: "/v2/access-policies"
tags: ["Access Policy API"]
---

# List Access Policies

`GET /v2/access-policies`

List all access policies for a team.

## Query parameters

- `teamId` string — The ID of the team.
- `pageSize` integer — Maximum number of results to return. Default is 10000, maximum is 10000.
- `pageToken` string — Token for pagination. Leave empty for the first request.

## Response `200`

Success

- SvflowPublicapiListAccessPoliciesResponse
  - `data` SvflowPubapimodelsAccessPolicy[] — The list of access policies.
    - `id` string — The ID of the access policy.
    - `teamId` string — The ID of the team that the access policy belongs to.
    - `name` string — The name of the access policy.
    - `description` string, nullable — A description of the access policy.
    - `maxAccessMinutes` integer, nullable — The maximum number of minutes that access can be granted for.
    - `requireBusinessJustification` boolean, nullable — Whether a business justification is required when requesting access.
    - `recommendedAccessMinutes` integer, nullable — The recommended duration in minutes for access requests (optional).
    - `requireOnBehalfOfConfirmation` boolean, nullable — Whether requests made on behalf of others require the target user's confirmation.
  - `nextPageToken` string, nullable — Token for retrieving the next page of results. Empty if no more results.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
