150+ REST API endpoints — 84 dedicated RESTful routes with clean URLs plus a generic execute endpoint that exposes all 396+ Foreman AI skills via REST. 3 schema formats: Anthropic, OpenAI function calling, and OpenAPI 3.1. Pro+ API key auth with role-based permissions. JSON in, JSON out.
All API requests require a Bearer token. Create scoped API keys in Admin → API Keys. Each key has specific permissions so you can restrict what each integration can do.
Example request
curl https://app.cornerstonepm.ai/api/ext/vendors \ -H "Authorization: Bearer cspm_your_key_here" \ -H "Content-Type: application/json"
All endpoints prefixed with https://app.cornerstonepm.ai
Plus POST /api/ext/execute — a generic endpoint that runs any of Foreman's 396+ skills by name. Built on 110+ database tables — every endpoint reflects real construction data.
HMAC SHA-256 signature verification via X-Webhook-Signature header. 10s timeout, auto-disable after 50 consecutive failures.
vendor.createdvendor.updatedvendor.invitedbid_request.createdbid_request.updatedbid_request.sentbid.submittedbid.acceptedbid.rejectedpayment.createdpayment.voidedhome.createdhome.status_changedtask.completedtask.status_changedpo.createdpo.status_changeduser.logged_inmilestone.completedvendor.notification.advancevendor.notification.remindervendor.notification.moved_earliervendor.notification.postponedmessage.sentlead.createdlead.convertedsale.createdsale.approvedsale.pipeline_completesale.cancelledCopy-paste ready. Replace cspm_your_key_here with your API key from Admin → API Keys.
curl -X POST https://app.cornerstonepm.ai/api/ext/vendors \
-H "Authorization: Bearer cspm_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"companyName": "ABC Plumbing LLC",
"email": "[email protected]",
"phone": "555-0192",
"scopes": ["Plumbing"],
"contactName": "Mike Johnson"
}'curl -X POST https://app.cornerstonepm.ai/api/ext/bids/request \
-H "Authorization: Bearer cspm_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"vendorIds": ["v_abc123", "v_def456"],
"scope": "Plumbing",
"deadline": "2026-05-15",
"communityId": "c_xyz789",
"message": "Please bid rough-in only for 3 units."
}'curl https://app.cornerstonepm.ai/api/ext/homes/h_456/budget \
-H "Authorization: Bearer cspm_your_key_here"
// Returns:
{
"scopes": [
{ "scope": "Plumbing", "budgeted": 18400, "committed": 16200 },
{ "scope": "Electrical", "budgeted": 22000, "committed": 19800 }
],
"totalBudgeted": 312400,
"totalCommitted": 287600
}curl -X POST https://app.cornerstonepm.ai/api/ext/webhooks \
-H "Authorization: Bearer cspm_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-server.com/webhooks/cornerstone",
"eventTypes": ["bid.submitted", "payment.created"],
"secret": "your_webhook_secret"
}'Cornerstone PM™ is the connective layer between your AI agents, your accounting, and your subcontractors.
Foreman AI uses this API internally with 396+ skills. Any AI agent - LangChain, AutoGen, Claude, GPT-4o - can connect via Bearer token.
qboId fields on vendors, homes, POs, and communities for seamless QuickBooks sync. Keep your books without double entry.
Standard REST endpoints work with any Zapier webhook trigger or action. Connect to 5,000+ apps without writing code.
AI voice agent calls vendors, API creates records, vendor portal collects bids, you compare and award. Zero manual steps.
Beta limited to 100 builders · No credit card required
Standard REST. No custom query language. If your AI agent can make an HTTP request, it works with Cornerstone PM™.
Request Early Access