Generated by API Evangelist
Written by API Evangelist tooling for Procore's API. It is a proposal applied on top of the contract, not a document Procore publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Procore REST Document Controller API
version: 1.0.0
extends: openapi/procore-document-controller-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/rest/v1.0/companies/{company_id}/projects/{project_id}/viewer_documents/get_or_create'].post
update:
x-apievangelist-phrasing:
intent: Get or create lightweight document info for the viewer
effect: write
questions:
- How do I get a lightweight document record for the viewer without markups?
- Can I create a document and return only its essential info for the UI?
instructions:
- text: Get or create the {item_type} document {item_id} in project {project_id} of company {company_id} and return its essential info.
slots:
item_type: requestBody.item_type
item_id: requestBody.item_id
project_id: path.project_id
company_id: path.company_id
- text: Create lightweight document info for item {item_id} of type {item_type} on attachment {attachment_id} in project {project_id}, company {company_id}.
slots:
item_id: requestBody.item_id
item_type: requestBody.item_type
attachment_id: requestBody.attachment_id
project_id: path.project_id
company_id: path.company_id
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v1.0/companies/{company_id}/projects/{project_id}/viewer_documents/{viewer_doc_id}/viewer_url'].get
update:
x-apievangelist-phrasing:
intent: Resolve a viewer document's viewer URL
effect: read
questions:
- Where is the viewer URL for a document in the Procore viewer?
- Can I get the viewer URL as JSON instead of being redirected?
instructions:
- text: Resolve the viewer URL for viewer document {viewer_doc_id} in project {project_id} of company {company_id}.
slots:
viewer_doc_id: path.viewer_doc_id
project_id: path.project_id
company_id: path.company_id
- text: Resolve the viewer URL for document {viewer_doc_id} in project {project_id}, company {company_id}, with redirect set to {redirect}.
slots:
viewer_doc_id: path.viewer_doc_id
project_id: path.project_id
company_id: path.company_id
redirect: query.redirect
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v1.0/companies/{company_id}/projects/{project_id}/viewer_documents'].post
update:
x-apievangelist-phrasing:
intent: Find or create an annotated document
effect: write
questions:
- How do I get an annotated document where markups can be added?
- Can I create an Annotated Document record from an item?
instructions:
- text: Find or create an Annotated Document for {item_type} {item_id} in project {project_id} of company {company_id}.
slots:
item_type: requestBody.item_type
item_id: requestBody.item_id
project_id: path.project_id
company_id: path.company_id
- text: Create an annotated document for item {item_id} of type {item_type} in project {project_id}, company {company_id}, with combined XFDF set to {combined_xfdf}.
slots:
item_id: requestBody.item_id
item_type: requestBody.item_type
project_id: path.project_id
company_id: path.company_id
combined_xfdf: query.combined_xfdf
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.