Authenticate to the Procore REST API with OAuth 2.0 and set the correct company/project context for API calls

domain: developers.procore.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register an app in the Procore Developer Portal to get separate Client ID/Secret pairs for sandbox and production
  2. For a user-delegated app, redirect to GET https://login.procore.com/oauth/authorize with response_type=code, client_id, redirect_uri, state, then exchange the code at POST /oauth/token
  3. For a backend app with no specific user, use the Client Credentials grant via a Developer Managed Service Account (DMSA): POST client_id/client_secret with grant_type=client_credentials to /oauth/token
  4. Call the API with an Authorization header carrying the access token; refresh before the 5400-second (1.5h) expiry using grant_type=refresh_token, saving the new refresh token every time
  5. When using DMSA across Multiple Procore Regions, add a Procore-Company-Id header on calls to /rest/v1.0/me and /rest/v1.0/companies to scope to the right region/company

Known gotchas

Related routes

Authenticate to the Paylocity API using OAuth 2.0 client credentials and retrieve employee records for a company via the Core HR API.
developer.paylocity.com · 6 steps · unrated
authenticate with OAuth 2.0 and create a proposal project in the SumoQuote API
docs.sumoquote.com · 5 steps · unrated
Authenticate to a OneRoster 1.2 REST provider with OAuth 2.0 client credentials and select the correct per-endpoint scopes.
imsglobal.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans