Esc

↑↓ move↵ openIndex · Pagefind
REST API · v1.0

Build on one record.

Project delivery and company accounting behind one REST API. Connect RFIs, budgets and pay apps with the Accounting module's payables, receivables, banking, payroll, assets, WIP and general ledger.

Live at app.os.construction with your workspace users' credentials. Accounting uses company accounting grants.

GET /rest/v1.0/projects/2/rfis/1
curl https://app.os.construction/rest/v1.0/projects/2/rfis/1 \
  -H "Authorization: Bearer $OS_ACCESS_TOKEN"
200 OKcontent-type: application/jsonx-request-id: d2c8c99d-…
{
  "id": 1,
  "number": "1",
  "subject": "Fire dampers missing at level 3 corridor",
  "status": "open",
  "due_date": "2026-10-27",
  "ball_in_court": {
    "id": 1,
    "login": "pm@yourcompany.com",
    "name": "Dana Ruiz"
  },
  "cost_impact": {
    "status": "yes_known",
    "value": "86400"
  },
  "schedule_impact": {
    "status": "yes_known",
    "value": 3
  },
  "questions": [
    {
      "id": 1,
      "plain_text_body": "The mechanical drawings show fire dampers at the level 3 corridor wall…",
      "answers": []
    }
  ],
  "updated_at": "2026-10-20T14:16:19.049Z"
}

Sample data · response from a local run, trimmed

Principles

Designed like the ledger it sits on.

One record

Project records and the Accounting module share source links: budgets, commitments, pay apps, bills, invoices and ledger entries. Read the same records your PM and accounting team review.

Permissions you already set

A token acts as its user. Company and project permission templates (none, read only, standard, admin per tool) apply to every call. Optional scopes narrow it further.

Pagination in the headers

page and per_page in. Total, Per-Page and Link out. Up to 1,000 rows a page, and the body stays a plain array.

Signed webhooks

Subscribe an HTTPS endpoint for signed project record, Accounting, CRM and Analytics events. Each event is recorded in the same transaction as the change and reaches you only while the subscription creator can read it.

Change history on tracked tools

Tracked edits write an audit event with who, when and the field-level before and after. You see it as item history and in the project activity feed.

Plain errors

A status code and { "errors": [...] }. Validation failures come back keyed by field, so you can show them next to the input.

Start here

Quick links

Status

What's live and what's planned

Live
  • REST API under /rest/v1.0, with v1.1 and v2.0 paths for some tools
  • OAuth token endpoint: password and refresh grants, revocation
  • MFA on the token endpoint
  • Per-tool read and write scopes
  • Pagination headers: Total, Per-Page, Link
  • Webhook subscriptions and signed test deliveries
  • SCIM 2.0 user provisioning
  • CSV exports on tools like RFIs
  • Accounting module REST workflows, accounting scopes and accounting events
  • Record webhook events (rfi.answered, change_order.approved, …) with replay
  • Idempotency keys on project, company and Accounting write APIs
  • Service accounts with scoped, rotating API keys and OAuth client credentials
  • AI agent credentials that can propose but not approve
Planned
  • Partner apps: authorization-code OAuth with PKCE (in preview)
  • Hosted MCP server for AI assistants at https://app.os.construction/mcp (live, read-only preview; or the local connector from npm, npx -y @os-construction/cli mcp)
  • TypeScript and Python SDKs on npm and PyPI (built and tested; OpenAPI document and Postman collection downloadable today)
One change, every step a resource

Follow one change through the API.

A super logs a hidden condition in the daily log. An RFI asks about missing fire dampers. A potential change order prices it at $86,400 and rolls into a change order package. The budget line items it touches show the change. Each step is its own resource you can read and write.

  1. GET …/daily_logsDaily loghidden condition
  2. GET …/rfis/{id}RFIcost impact: yes, known
  3. GET …/potential_change_orders/{id}Potential change order$86,400
  4. GET …/change_order_packages/{id}Change order packagefor owner approval
  5. GET …/budget_line_itemsBudgetpending and approved changes

Sample data: Riverside Medical Center, job 24-118.

Build on your own workspace.

Start a free trial, sign in, get a token at /oauth/token and call the API against your own projects. Building an ERP or owner-portal integration? Tell us about it.

Ask the OS

Reading this page

Ask anything about this page. Answers use what you're reading as context.

Suggested

    AI · may be imperfect · sample data where shown

    Open file