Get document permissions
Retrieve the document-level ability values (the Abilities toggles in the document’s settings), plus the resolved permits for a specific user when userId is provided.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
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
User membership ID to check permissions for. When omitted, only the document-level abilities are returned. Use the List users and List embed users endpoints to retrieve user IDs.
Response
Document abilities, plus user permits when userId is provided
Document-level ability values, as stored on the document. These settings control what actions users can perform on a document, and correspond to the toggles in the Abilities section of the document's settings.
User permits for the document. Present only when userId is provided.

