REST API · OpenAPI · Postman · MCP
Open doors and run buildings with a few lines of code.
One API for sites, buildings, entrances, people, PINs, intercom calls and automations. It is the same API our web app, mobile app and AI assistants use.
# 1 Your key: Profile → Manage Api → Generate Token export TBC_KEY="paste-your-token" # 2 List your entrances curl https://go.thebuilding.cloud/api/entrances \ -H "Authorization: Bearer $TBC_KEY" \ -H "Accept: application/json" # 3 Open one curl -X POST https://go.thebuilding.cloud/api/entrances/42/unlock \ -H "Authorization: Bearer $TBC_KEY" \ -H "Accept: application/json"
const api = "https://go.thebuilding.cloud/api"; const headers = { Authorization: `Bearer ${process.env.TBC_KEY}`, Accept: "application/json" }; // List your entrances const { data } = await (await fetch(`${api}/entrances`, { headers })).json(); // Open one const res = await fetch(`${api}/entrances/${data[0].id}/unlock`, { method: "POST", headers }); console.log(res.status, (await res.json()).message);
use Illuminate\Support\Facades\Http; $tbc = Http::withToken(env('TBC_KEY'))->acceptJson()->baseUrl('https://go.thebuilding.cloud/api'); // List your entrances $doors = $tbc->get('/entrances')->json('data'); // Open one $res = $tbc->post("/entrances/{$doors[0]['id']}/unlock"); echo $res->status().' '.$res->json('message');
import os, requests api = "https://go.thebuilding.cloud/api" headers = {"Authorization": f"Bearer {os.environ['TBC_KEY']}", "Accept": "application/json"} # List your entrances doors = requests.get(f"{api}/entrances", headers=headers).json()["data"] # Open one r = requests.post(f"{api}/entrances/{doors[0]['id']}/unlock", headers=headers) print(r.status_code, r.json()["message"])
Start here
From zero to a working integration.
Quickstart
Make your first request and open a door in five minutes.
Authentication and API keys
Create a key, keep it safe, and send it with every request.
Responses and errors
The reply shape, every status code, and what to do about each.
Lists, paging and limits
Page through lists, sort and search, and stay under 300 requests a minute.
Test mode
A practice organisation with sample doors and people, test keys, limits and the test outbox.
Webhooks
Signed events, retries, the delivery log and replay, and checking the signature.
AI assistants and MCP
Connect Claude, ChatGPT, Cursor or VS Code to your buildings.
Postman, Bruno and OpenAPI
Use the collection or the OpenAPI file in your favourite tools.
Use the tools you already have
Everything comes from one OpenAPI file, so the reference, the collection and the AI tools always agree.
Collection
Postman
Every endpoint, grouped like the reference, with your key and Live or Staging as variables.
AI assistants
MCP server
Let Claude, ChatGPT, Cursor or VS Code work with your buildings in plain English.
Explore the API
Grouped the way the platform is built: places, doors, people and devices.
Recipes
Real jobs, start to finish.
Coming next
Keys with their own permissions, a practice sandbox with test doors, more signed webhook events (doors, calls, people, devices), and a Developers page in the dashboard.