Procore Prime Contracts API

The Prime Contracts API from Procore — 8 operation(s) for prime contracts.

GitHub OpenAPI
Business capability
Contract Management BC-150.10

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /rest/v1.0/potential_change_orders/{potential_change_order_id}/line_items/{id} Get a line item on a potential change order · Show Potential Change Order Line Item #
Ask an LLM
“How do I see the line items on a potential change order?”
“Can I read a change order line item that is tied to a change event?”
Tell an agent
Show line item {id} on potential change order {potential_change_order_id} in project {project_id}.
Get the change event line item details for {id} on potential change order {potential_change_order_id}.
DELETE /rest/v1.0/potential_change_orders/{potential_change_order_id}/line_items/{id} Delete a line item from a potential change order · Delete Potential Change Order Line Item #
Ask an LLM
“How do I remove a line item from a potential change order?”
“Can I delete a single line item on a potential change order?”
Tell an agent destructive · confirm first
Delete line item {id} from potential change order {potential_change_order_id} in project {project_id}.
Remove the {id} line item on potential change order {potential_change_order_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id}/attachments List attachments on a prime contract · List Prime Contract Attachments #
Ask an LLM
“Which attachments are attached to a prime contract?”
“Can I list deleted attachments on a prime contract?”
Tell an agent
List attachments on prime contract {prime_contract_id} in project {project_id} of company {company_id}.
Show prime contract {prime_contract_id} attachments including deleted ones ({include_deleted}).
GET /rest/v1.0/prime_contracts List prime contracts (legacy v1.0) · List all Prime Contracts #
Ask an LLM
“What prime contracts exist for a project using the legacy v1.0 endpoint?”
“Can I filter the v1.0 prime contracts list by ID or update time?”
Tell an agent
List all prime contracts for project {project_id} using the v1.0 endpoint.
Show v1.0 prime contracts for project {project_id} updated {updated_at}.
GET /rest/v1.0/prime_contract Get the first prime contract for a project · Show First Prime Contract #
Ask an LLM
“What is the first prime contract created for a project?”
“Can I fetch only the earliest prime contract for a project?”
Tell an agent
Show the first prime contract for project {project_id}.
Get the earliest prime contract on project {project_id}.
POST /rest/v1.0/prime_contract Create a prime contract for a project · Create Prime Contract #
Ask an LLM
“How do I create a prime contract for a project?”
“Can I upload attachments when creating a prime contract?”
Tell an agent
Create prime contract {prime_contract} for project {project_id} in company {company}.
Add a prime contract to project {project_id} and attach {attachments}.
GET /rest/v1.0/prime_contract/{id} Get a prime contract (legacy v1.0) · Show Prime Contract #
Ask an LLM
“What are the details of a prime contract using the legacy v1.0 endpoint?”
“Can I fetch a single prime contract by ID through v1.0?”
Tell an agent
Show prime contract {id} for project {project_id} using the v1.0 endpoint.
Get the v1.0 prime contract {id} on project {project_id}.
PATCH /rest/v1.0/prime_contract/{id} Update an existing prime contract · Update Prime Contract #
Ask an LLM
“How do I edit an existing prime contract using the v1.0 endpoint?”
“Can I replace the attachments on a prime contract I already created?”
Tell an agent
Update v1.0 prime contract {id} on project {project_id} in company {company_id}.
Change v1.0 prime contract {id} on project {project_id} and attach {attachments}.
DELETE /rest/v1.0/prime_contract/{id} Delete a prime contract · Delete Prime Contract #
Ask an LLM
“How do I delete a prime contract?”
“Can I remove a prime contract from a project?”
Tell an agent destructive · confirm first
Delete prime contract {id} from project {project_id} in company {company}.
Remove prime contract {id} on project {project_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts List prime contracts for a project · List Prime Contracts #
Ask an LLM
“Which prime contracts exist for a project?”
“Can I filter prime contracts by contractor, status or signature required?”
Tell an agent
List prime contracts for project {project_id} in company {company_id}.
Show prime contracts on project {project_id} with status {status}.
POST /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts Create a prime contract via the v2.0 endpoint · Create Prime Contract #
Ask an LLM
“Can I set the vendor, architect and contractor when creating a prime contract in v2.0?”
“What contract settings can I choose when adding a new prime contract to a project through the v2.0 API?”
Tell an agent
Create a v2.0 prime contract titled {title} for project {project_id} in company {company_id} with vendor {vendor_id}.
Add a new v2.0 prime contract to project {project_id} in company {company_id} with contractor {contractor_id} and status {status}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id} Get a prime contract for a project · Show Prime Contract #
Ask an LLM
“What are the details of a prime contract for a project?”
“Can I view a deleted prime contract for a project?”
Tell an agent
Show prime contract {prime_contract_id} for project {project_id} in company {company_id}.
Get prime contract {prime_contract_id} on project {project_id} in company {company_id} with deleted included ({include_deleted}).
PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id} Update a prime contract for a project · Update Prime Contract #
Ask an LLM
“How do I edit a prime contract for a project?”
“Can I change the retainage percent on a prime contract?”
Tell an agent
Update prime contract {prime_contract_id} for project {project_id} in company {company_id} with title {title}.
Set the retainage percent on prime contract {prime_contract_id} for project {project_id} in company {company_id} to {retainage_percent}.
DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id} Delete a prime contract via the v2.0 endpoint · Delete Prime Contract #
Ask an LLM
“What happens when I delete a prime contract from a project in v2.0?”
“Is it possible to permanently get rid of a prime contract I no longer need in v2.0?”
Tell an agent destructive · confirm first
Delete v2.0 prime contract {prime_contract_id} from project {project_id} in company {company_id}.
Permanently discard the v2.0 prime contract {prime_contract_id} belonging to project {project_id} under company {company_id}.
POST /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id}/pdf Export a prime contract as a PDF · Create PDF export for a Prime Contract #
Ask an LLM
“How do I generate a PDF of a prime contract?”
“Can I group a prime contract PDF by work breakdown structure segments?”
Tell an agent
Create a PDF export of prime contract {prime_contract_id} for project {project_id} in company {company_id}.
Generate a prime contract {prime_contract_id} PDF for project {project_id} in company {company_id} grouped by {wbs_pdf_groups}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id}/pdf Check a prime contract PDF generation status · Check PDF generation status #
Ask an LLM
“Has the PDF for a prime contract finished generating?”
“Can I check the status of a prime contract PDF export?”
Tell an agent
Check the PDF generation status for prime contract {prime_contract_id} in project {project_id} of company {company_id}.
Tell me whether prime contract {prime_contract_id} PDF for project {project_id} in company {company_id} is ready.

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-prime-contracts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

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

OpenAPI Specification

procore-prime-contracts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Procore REST Prime Contracts 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:


# --- truncated at 32 KB (908 KB total) ---
# Full source: https://artifacts.apis.io/procore/openapi/procore-prime-contracts-api-openapi.yml