v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
Document permissions

all users and groups with document access

List all users and groups with access to a document.

The paginated response includes a list of principal objects, where each entry represents a distinct access grant with its own role and settings. A principal may appear twice in the response if they have both direct access and folder-based access to the same document.

get/v1/documents/{documentId}/access-list

Path parameters

documentIdstring required

The document identifier. To retrieve the ID, navigate to File > Document settings in the document and then click Settings. The Identifier field contains the document ID.

Query parameters

pageSizeinteger

Number of results per page (1-100).

cursorstring

Pagination cursor from a previous response's pageInfo.nextCursor.

sortField'name' | 'email' | 'role'

Field to sort results by.

sortDirection'asc' | 'desc'

Sort order.

accessSource'direct' | 'folder'

Filter by how access was granted:

  • direct — Only principals with explicit document permissions
  • folder — Only principals with inherited folder permissions
type'user' | 'userGroup'

Filter by principal type:

  • user — Only individual users
  • userGroup — Only user groups

Response

Successfully retrieved access list