Procore Permission Controller API

The permission-controller API from Procore — 1 operation(s) for permission-controller.

Operations 1

GET /rest/v1.0/companies/{company_id}/projects/{project_id}/viewer_documents/permissions Document Markup Permissions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/procore:procore-permission-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

procore-permission-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Procore REST Permission Controller API
  version: v1.0/v2.0
  description: Merged from the per-resource OpenAPI documents Procore publishes through its developer portal (https://developers.procore.com/api/v1/resource_groups). Originals are kept verbatim in openapi/_original/resources/.
  x-source: https://developers.procore.com/api/v1/resource_groups
servers:
- url: https://api.procore.com
  description: Production
security:
- bearerAuth: []
tags:
- name: permission-controller
paths:
  /rest/v1.0/companies/{company_id}/projects/{project_id}/viewer_documents/permissions:
    parameters:
    - name: Procore-Company-Id
      in: header
      description: Unique company identifier associated with the Procore User Account.
      required: true
      schema:
        type: integer
    x-compliance-level: full
    get:
      tags:
      - permission-controller
      summary: Document Markup Permissions
      description: Returns the user permissions for the document specified in Procore-Document-Id header
      operationId: getPermissions_2
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
      - name: project_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  viewer_doc_id:
                    type: string
                  markups:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        xfdf_id:
                          type: string
                        markup_type:
                          type: string
                        viewer_doc_id:
                          type: string
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                        created_by_id:
                          type: string
                        updated_by_id:
                          type: string
                        company_id:
                          type: string
                        project_id:
                          type: string
                        deleted:
                          type: boolean
                        editable:
                          type: boolean
                        xfdf:
                          type: string
                        created_by_name:
                          type: string
                        updated_by_name:
                          type: string
                        created_by_vendor_id:
                          type: string
                        created_by_vendor_name:
                          type: string
                        page_number:
                          type: integer
                          format: int32
                        audit_transaction_timestamp:
                          type: string
                          format: date-time
                        markup_context:
                          type: string
                          enum:
                          - WORKFLOW
                          - WORKSPACE
                          - PIN
                          - NO_CONTEXT
                        group_id:
                          type: string
                        pin_id:
                          type: string
                        comment_id:
                          type: string
                        document:
                          type: object
                          properties:
                            external_document_id:
                              type: string
                            document_type:
                              type: string
                        markup_source:
                          type: string
                  combined_xfdf:
                    type: string
                  permissions:
                    type: object
                    properties:
                      file_locked:
                        type: boolean
                      allowed_actions:
                        type: array
                        items:
                          type: string
                  document:
                    type: object
                    properties:
                      external_document_id:
                        type: string
                      document_type:
                        type: string
      x-rate-limit-enabled: true
      x-doc:
        visibility: public
        stage: ga
        exposure: public
      x-code-samples:
      - id: node_request
        title: Node.js
        content: "const request = require('request');\n\nconst options = {\n  method: 'GET',\n  url: 'http://localhost:8080/rest/v1.0/companies/%7Bcompany_id%7D/projects/%7Bproject_id%7D/viewer_documents/permissions'\n};\n\nrequest(options, function (error, response, body) {\n  if (error) throw new Error(error);\n\n  console.log(body);\n});\n"
      - id: python_python3
        title: Python3
        content: 'import http.client


          conn = http.client.HTTPConnection("localhost:8080")


          conn.request("GET", "/rest/v1.0/companies/%7Bcompany_id%7D/projects/%7Bproject_id%7D/viewer_documents/permissions")


          res = conn.getresponse()

          data = res.read()


          print(data.decode("utf-8"))'
      - id: shell_curl
        title: Curl
        content: "curl --request GET \\\n  --url http://localhost:8080/rest/v1.0/companies/%7Bcompany_id%7D/projects/%7Bproject_id%7D/viewer_documents/permissions"
      - id: csharp_httpclient
        title: C#
        content: "var client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n    Method = HttpMethod.Get,\n    RequestUri = new Uri(\"http://localhost:8080/rest/v1.0/companies/%7Bcompany_id%7D/projects/%7Bproject_id%7D/viewer_documents/permissions\"),\n};\nusing (var response = await client.SendAsync(request))\n{\n    response.EnsureSuccessStatusCode();\n    var body = await response.Content.ReadAsStringAsync();\n    Console.WriteLine(body);\n}"
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer