Procore Document Markup API

The Document Markup API from Procore — 1 operation(s) for document markup.

Operations 1

POST /rest/v1.0/document_markup_downloadable_pdfs/find_or_create Show or Create Document Markup Downloadable PDF #

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-document-markup-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-document-markup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Procore REST Document Markup 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: Document Markup
paths:
  /rest/v1.0/document_markup_downloadable_pdfs/find_or_create:
    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
    post:
      x-doc:
        visibility: public
        stage: ga
        exposure: public
      summary: Show or Create Document Markup Downloadable PDF
      description: 'Find or Create Document Markup Downloadable PDF. Starts processing to create a downloadable PDF with markup. When completed, the same request will include a download URL for the PDF.

        item_id, item_type, and attachment_id paramters are the same parameters included in the URL when viewing the attachment in procore.

        Example: app.procore.com/161072/project/submittal_logs/document_viewer?attachment_id=43&item_id=42&item_type=SubmittalLog&project_id=161072'
      tags:
      - Document Markup
      parameters:
      - name: version_datetime
        in: query
        description: Optional ISO 8601 timestamp (UTC) used to retrieve the state of the document and its markup as of that point in time. Omit to retrieve the current version.
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - project_id
              - item_id
              - item_type
              - attachment_id
              properties:
                project_id:
                  type: integer
                  description: ID of the project that owns the item and its attachment.
                item_id:
                  type: integer
                  description: The ID of the parent item this document belongs to
                item_type:
                  type: string
                  example: SubmittalLogApprover
                  description: The type of the parent item this document belongs to (eg SubmittalLog)
                attachment_id:
                  type: integer
                  description: ID of the ProstoreFile (attachment) being marked up. Matches the `attachment_id` shown in the document viewer URL.
        required: true
      responses:
        '200':
          description: Document Markup Downloadable PDF completed and download URL is included in the response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type:
                    - integer
                    - 'null'
                    description: ID of the Document Markup Downloadable PDF record.
                    example: 42
                  error_message:
                    type:
                    - string
                    - 'null'
                    description: Message describing a processing failure. Null for a completed PDF.
                  status:
                    type: string
                    description: Processing state of the Downloadable PDF; always `completed` for this response.
                    enum:
                    - completed
                    example: completed
                  url:
                    type: string
                    description: Temporary download URL for the completed marked-up PDF. Fetch this URL to download the file.
                    example: https://example.com/some_document_url
                  pusher_message_name:
                    type: string
                    description: Name of the Pusher message broadcast when this PDF's status changes. Subscribe to it to receive real-time processing updates.
                    example: downloadable_pdf_update_707
        '202':
          description: Document Markup Downloadable PDF job has been created and is processing.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: ID of the Document Markup Downloadable PDF record.
                    example: 42
                  error_message:
                    type:
                    - string
                    - 'null'
                    description: Message describing a processing failure. Null while processing.
                  status:
                    type: string
                    description: Processing state of the Downloadable PDF; always `processing` for this response.
                    enum:
                    - processing
                    example: processing
                  url:
                    type:
                    - string
                    - 'null'
                    description: Download URL for the marked-up PDF. Null until processing completes.
                  pusher_message_name:
                    type: string
                    description: Name of the Pusher message broadcast when this PDF's status changes. Subscribe to it to be notified when processing finishes and the download URL becomes available.
                    example: downloadable_pdf_update_707
        '400':
          description: Invalid params submitted
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                  message:
                    type: string
                  fields:
                    type: string
                  reason:
                    description: A human-readable code providing additional detail on the cause of the error.
                    type: string
                  error:
                    description: Description of the error thrown.
                    type:
                    - string
                    - 'null'
                    example: Invalid Token
        '403':
          description: User does not have permission to view Document Markup Downloadable PDF
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                  message:
                    type: string
                  fields:
                    type: string
                  reason:
                    description: A human-readable code providing additional detail on the cause of the error.
                    type: string
                  error:
                    description: Description of the error thrown.
                    type:
                    - string
                    - 'null'
                    example: Invalid Token
        '404':
          description: Document Markup Downloadable PDF not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                  message:
                    type: string
                  fields:
                    type: string
                  reason:
                    description: A human-readable code providing additional detail on the cause of the error.
                    type: string
                  error:
                    description: Description of the error thrown.
                    type:
                    - string
                    - 'null'
                    example: Invalid Token
        '409':
          description: Document Markup Downloadable PDF errored
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: ID of the Document Markup Downloadable PDF record.
                    example: 42
                  error_message:
                    type: string
                    description: Message describing why vector processing failed.
                    example: processing failed with error
                  status:
                    type: string
                    description: Processing state of the Downloadable PDF; always `error` for this response.
                    enum:
                    - error
                    example: error
                  url:
                    type:
                    - string
                    - 'null'
                    description: Download URL for the marked-up PDF. Null because processing failed.
                  pusher_message_name:
                    type: string
                    description: Name of the Pusher message broadcast when this PDF's status changes. Subscribe to it to receive real-time processing updates.
                    example: downloadable_pdf_update_707
        '422':
          description: Error updating Document Markup Downloadable PDF
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                  message:
                    type: string
                  fields:
                    type: string
                  reason:
                    description: A human-readable code providing additional detail on the cause of the error.
                    type: string
                  error:
                    description: Description of the error thrown.
                    type:
                    - string
                    - 'null'
                    example: Invalid Token
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                  message:
                    type: string
                  fields:
                    type: string
                  reason:
                    description: A human-readable code providing additional detail on the cause of the error.
                    type: string
                  error:
                    description: Description of the error thrown.
                    type:
                    - string
                    - 'null'
                    example: Invalid Token
      x-code-samples:
      - id: node_request
        mimeType: application/json
        title: Node.js
        content: "const request = require('request');\n\nconst options = {\n  method: 'POST',\n  url: 'https://api.procore.com/rest/v1.0/document_markup_downloadable_pdfs/find_or_create',\n  qs: {version_datetime: 'SOME_STRING_VALUE'},\n  headers: {'content-type': 'application/json'},\n  body: {project_id: 0, item_id: 0, item_type: 'SubmittalLogApprover', attachment_id: 0},\n  json: true\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
        mimeType: application/json
        title: Python3
        content: 'import http.client


          conn = http.client.HTTPSConnection("api.procore.com")


          payload = "{\"project_id\":0,\"item_id\":0,\"item_type\":\"SubmittalLogApprover\",\"attachment_id\":0}"


          headers = { ''content-type'': "application/json" }


          conn.request("POST", "/rest/v1.0/document_markup_downloadable_pdfs/find_or_create?version_datetime=SOME_STRING_VALUE", payload, headers)


          res = conn.getresponse()

          data = res.read()


          print(data.decode("utf-8"))'
      - id: shell_curl
        mimeType: application/json
        title: Curl
        content: "curl --request POST \\\n  --url 'https://api.procore.com/rest/v1.0/document_markup_downloadable_pdfs/find_or_create?version_datetime=SOME_STRING_VALUE' \\\n  --header 'content-type: application/json' \\\n  --data '{\"project_id\":0,\"item_id\":0,\"item_type\":\"SubmittalLogApprover\",\"attachment_id\":0}'"
      - id: csharp_httpclient
        mimeType: application/json
        title: C#
        content: "var client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n    Method = HttpMethod.Post,\n    RequestUri = new Uri(\"https://api.procore.com/rest/v1.0/document_markup_downloadable_pdfs/find_or_create?version_datetime=SOME_STRING_VALUE\"),\n    Content = new StringContent(\"{\\\"project_id\\\":0,\\\"item_id\\\":0,\\\"item_type\\\":\\\"SubmittalLogApprover\\\",\\\"attachment_id\\\":0}\")\n    {\n        Headers =\n        {\n            ContentType = new MediaTypeHeaderValue(\"application/json\")\n        }\n    }\n};\nusing (var response = await client.SendAsync(request))\n{\n    response.EnsureSuccessStatusCode();\n    var body = await response.Content.ReadAsStringAsync();\n    Console.WriteLine(body);\n}"
      x-rate-limit-enabled: true
      x-procore-kong-tags:
      - rate-limit:enabled
      operationId: showOrCreateDocumentMarkupDownloadablePdf
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer