Item-Scoped Document Markup Permissions
item_scoped_document_markup_permissionsGet document markup permissions for a specific item. Use item_type and item_id to fetch the complete permission record for that document revision, upload, file version, spec section, or drawing.
Instructions
Returns the user's tool-level permissions for the specified document, identified by item_type and item_id in the URL path. Allowed item_type values are document_revision, document_upload, FileVersion, and specification_section_revision, and drawing_revision. Use this when you already know which item-scoped document markup permission you want and need its full field set. company_id and project_id default to the values set by procore_set_config when omitted, and item_type, item_id must identify existing parent records — resolve them with the matching list tool first. Returns a single JSON object describing the item-scoped document markup permission. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, project_id, item_type, item_id. Procore API (v2.0): Project Management > Document Markup. Endpoint: GET /rest/v2.0/companies/{company_id}/projects/{project_id}/{item_type}/{item_id}/viewer_permissions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | URL path parameter — external identifier of the item | |
| item_type | Yes | URL path parameter — type of the item being queried. One of: document_revision, document_upload, FileVersion, specification_section_revision, drawing_revision. | |
| company_id | Yes | URL path parameter — unique identifier of the company | |
| project_id | Yes | URL path parameter — unique identifier of the project |