---
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

> 92 revisions in range; 14 could not be searched.

- **2026-07-21** `972a5118199e` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-07-21** `2d62172604d1` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-06-22** `08c17c9175d0` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-21** `b162fb37b3ad` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-06-20** `d1f1d35ae0f9` — 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/7ed1f79f6fb7/schema)
