Skip to content
Suomi

Overview

The WhatsBuilt API lets your organisation’s own systems, such as an ERP, a data platform or production control, read what changes in your projects, record deliveries and installations on elements, and propose findings.

Start with the guides: Create an integration · Get an access token · Collect changes in a window · Record element events · Create finding drafts · Integrations in another organisation’s project · Apps acting for a person · Errors and limits · Changelog.

Base URL and access

  • Production https://api.whatsbuilt.fi/v1, test https://api.test.whatsbuilt.fi/v1, dev https://api.dev.whatsbuilt.fi/v1.
  • An organisation admin creates an integration on Integrations in the app, chooses its projects and permissions, and registers its public key. The integration gets a token from POST /oauth/token with the client credentials grant and a client assertion signed with its private key (private_key_jwt, ES256 or RS256). The token lasts 15 minutes and has no refresh token: ask for a new one.
  • An app acting for a person is registered by WhatsBuilt. A person signs in to WhatsBuilt and approves it; the app uses the authorization code grant with PKCE (S256) at GET /oauth/authorize and POST /oauth/token. Its token wba_at_… lasts an hour and acts as the person, never beyond the person’s own rights; with offline_access it gets a rotating refresh token. A confidential app authenticates with private_key_jwt, a public one sends only its client_id. The connection lasts 90 days for a confidential app and 30 for a public one; POST /oauth/revoke ends it.
  • Send the token as Authorization: Bearer wbi_at_… or wba_at_…. A token works only on /v1.
  • The API returns exactly what the integration’s projects show: the projects on its list in its own organisation, and the projects of other organisations whose project admins added it. A project whose owning organisation has turned the API off is named in skipped_projects with PUBLIC_API_DISABLED.

Conventions

  • JSON with snake_case names.
  • Times in answers are RFC 3339 in UTC with microseconds, e.g. 2026-11-17T08:14:03.512844+00:00.
  • Times you send are RFC 3339 with an offset: Z or ±hh:mm, lower-case t and z accepted, up to 9 fractional digits. Digits past microseconds are dropped (floored). 10 or more fractional digits, a time without an offset and a date that does not exist answer 400 VALIDATION_ERROR.
  • Every item of a windowed list has changed_at and deleted.
  • Errors are { "error", "code", "details", "request_id" }. code is part of the contract; error is a sentence for people and may change.

Compatibility

/v1 changes only by addition: new endpoints, new optional parameters, new fields and new enum values (event kinds, deletion reasons, statuses). Your client must ignore fields and enum values it does not know. A breaking change opens /v2; /v1 then answers with Deprecation and Sunset headers and keeps working for at least 12 months. Every change is on the changelog.

Lists and windows

Every list under Changes, such as GET /v1/elements, takes a modification window [modified_from, modified_to) and returns the rows created, changed and deleted in it. Other reads that answer several rows, such as listStoreys, listIntegrations or listExportJobs, are snapshots: read when asked, without a window or deletions.

  • modified_from is inclusive, modified_to exclusive, so consecutive windows meet without a gap or an overlap.
  • The server clamps modified_to to the settled time: at least 5 seconds behind the database clock, and before the start of any write transaction still open, so no row can later appear in a window already read. window.modified_to in the answer is the bound used; start your next window there, never at your own clock.
  • Rows come in (project_id, changed_at, key) order, live rows and deletions in one stream. Upsert by the key.
  • limit is 1–1000, default 200; a page also stops at 2,000,000 bytes. A page may hold fewer rows than limit, even none, while more follow. Only next_cursor: null ends a list.
  • Pass next_cursor as cursor with the same other parameters. A cursor with other parameters answers 400 INVALID_CURSOR.
  • A deleted row comes as deleted: true with its key, project_id, changed_at (the deletion time) and reason.
  • Without modified_from a list returns every live row and no deletions: the initial load. Its window.modified_to is where your first window starts.
  • Deletions are kept for 400 days. A window that starts earlier answers 422 WINDOW_BEFORE_RETENTION with details.oldest_from; load again without a window.
  • When a project appears in GET /v1/projects as changed, or leaves skipped_projects, load that project without a window (project_id=…, no modified_from): its older rows keep their older changed_at.

Limits

120 requests a minute per integration or app connection, with RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset on every answer to a valid token and 429 RATE_LIMITED with Retry-After above it. The token endpoint takes 30 requests a minute per integration.

Not in /v1

/v1 has a counterpart for every operation a person can do in the WhatsBuilt app. What it leaves out is left out on purpose:

  • The app’s own drawings. The floor plan and the 3D viewer’s geometry are derived from the model. /v1 gives the IFC file (getModelVersionIfc) and each element’s origin (listElements) instead.
  • A person’s own sign-in, settings and access. Signing in, the interface language, leaving a project, asking for access for oneself, and the person’s own app and AI assistant connections. Approving an app that acts for a person, and the organisation admin’s control over such apps (removing their connections and limiting their scopes), are also done only in WhatsBuilt.
  • Messages to WhatsBuilt support.
  • Change notifications (webhooks). Collect changes in a window on a schedule instead.

The changelog lists what each release adds. The limits of BCF clients and of exports are on Not available yet.

Information

  • OpenAPI version: 3.1.0

An integration: client credentials with a client assertion (private_key_jwt, RFC 7523) signed with its key; see Get an access token. An app acting for a person: authorization code with PKCE; see Apps acting for a person.

Security scheme type: oauth2

Flow type: authorizationCode

Authorization URL: https://api.whatsbuilt.fi/oauth/authorize

Token URL: https://api.whatsbuilt.fi/oauth/token

Refresh URL: https://api.whatsbuilt.fi/oauth/token

Scopes:

  • element-events:write - Record and void element events; gives the inspector role
  • elements:delete - Delete labels; gives the admin role
  • elements:read - Elements and element events
  • elements:write - Create and assign labels; gives the inspector role
  • finding-drafts:write - Create finding drafts for the project's inspectors
  • findings:delete - Delete findings and import BCF; gives the admin role
  • findings:read - Findings and other topics, and finding drafts
  • findings:write - Create and change findings, comments, viewpoints and photos; gives the inspector role
  • inspections:read - Inspections with their steps and checks
  • members:write - Add, change and remove project members, decide access requests and handovers of the project; gives the admin role
  • offline_access - A rotating refresh token, so the app keeps working until its connection ends
  • organisation:admin - Act as the organisation's admin: projects, people, settings, single sign-on, the organisation's templates, check lists and fail-reason lists, integrations and their keys, and handover decisions
  • projects:read - Projects
  • projects:write - Change projects and their phase; gives the admin role
  • read - Every read scope below
  • schedule:read - Zones, schedule imports and tasks, the takt board, zone handoffs and deviations

Flow type: clientCredentials

Token URL: https://api.whatsbuilt.fi/oauth/token

Scopes:

  • element-events:write - Record and void element events; gives the inspector role
  • elements:delete - Delete labels; gives the admin role
  • elements:read - Elements and element events
  • elements:write - Create and assign labels; gives the inspector role
  • finding-drafts:write - Create finding drafts for the project's inspectors
  • findings:delete - Delete findings and import BCF; gives the admin role
  • findings:read - Findings and other topics, and finding drafts
  • findings:write - Create and change findings, comments, viewpoints and photos; gives the inspector role
  • inspections:read - Inspections with their steps and checks
  • members:write - Add, change and remove project members, decide access requests and handovers of the project; gives the admin role
  • organisation:admin - Act as the organisation's admin: projects, people, settings, single sign-on, the organisation's templates, check lists and fail-reason lists, integrations and their keys, and handover decisions
  • projects:read - Projects
  • projects:write - Change projects and their phase; gives the admin role
  • read - Every read scope below
  • schedule:read - Zones, schedule imports and tasks, the takt board, zone handoffs and deviations