---
title: "Read document permissions"
method: POST
path: "/rest/api/v1/getdocpermissions"
tags: ["Documents"]
---

# Read document permissions

`POST /rest/api/v1/getdocpermissions`

Read the emails of all users who have access to the given document.

## Query parameters

- `locale` string

## Request body

- GetDocPermissionsRequest
  - `documentId` string — The Glean Document ID to retrieve permissions for.

## Response `200`

OK

- GetDocPermissionsResponse
  - `allowedUserEmails` string[] — A list of emails of users who have access to the document. If the document is visible to all Glean users, a list with only a single value of 'VISIBLE_TO_ALL'.

## Other responses

- `400` — Invalid request
- `401` — Not Authorized
- `403` — Forbidden
- `429` — Too Many Requests

## Changes

- **2026-06-07** `ab886c377360` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-06** `c1a150309e52` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-06-03** `2cb0cc06631f` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-03** `d2c4124e0abe` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-05-27** `35c36b2b6d97` — 1 info
  - the endpoint scheme security `APIToken` was added to the API

[Full history](https://skmtc.dev/gleanwork/apis/glean-api/changes/rest/api/v1/getdocpermissions/post.md)

---

[API](https://skmtc.dev/gleanwork/apis/glean-api.md) · [All operations](https://skmtc.dev/gleanwork/apis/glean-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gleanwork/glean-api/revisions/fc186ea8fe2b/schema)
