---
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-05-21** `d3f35444d235` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API

[Change 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/d3f35444d235/schema)
