Retrieves the permission details for a specific user or group within the document, including their role and access level.
Authorization: Requires document editor or workspace manager permissions. Response: Returns permission object with role and metadata.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the organization Standard identifier pattern for resource names
The unique identifier of the workspace Standard identifier pattern for resource names
The path to the document within the workspace Path pattern supporting slashes, dots, and dashes
The unique identifier of the user or group A resource identifier that uniquely identifies either a user or a group within the system. This identifier is used throughout the API for permission management and access control.
Format:
user:{email} or user:{userId}group:{groupName}Document permission retrieved successfully
Represents a permission assignment for a user or group within a document
A resource identifier that uniquely identifies either a user or a group within the system. This identifier is used throughout the API for permission management and access control.
Format:
user:{email} or user:{userId}group:{groupName}The role/permission level granted to the user or group
editor, viewer The permission level inherited from parent workspace
manager, viewer Optional message or note about the permission assignment
ISO 8601 timestamp indicating when the permission was created
ISO 8601 timestamp indicating when the permission was last modified