👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
curl --request GET \ --url https://{instance}.omniapp.co/api/v1/documents/{documentId}/permissions \ --header 'Authorization: Bearer <token>'
[ { "role": "VIEWER", "accessBoost": true, "direct": true, "inherited": true } ]
Retrieve document permissions for a user
Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN
Bearer YOUR_TOKEN
Document identifier
User ID to check permissions for
Array of permission objects
VIEWER
EDITOR
MANAGER
Was this page helpful?