# Postman, Bruno and OpenAPI

Everything here is generated from one OpenAPI file, so the collection, the reference and the MCP server always describe the same API.

## Postman

1. Download the [collection](https://go.thebuilding.cloud/developers/postman/collection.json) and an environment: [Live](https://go.thebuilding.cloud/developers/postman/environment-live.json) or [Staging](https://go.thebuilding.cloud/developers/postman/environment-staging.json).
2. In Postman choose **Import** and drop in both files.
3. Pick the environment in the top-right corner, open it and paste your API key into `token`.
4. Open any request and press **Send**.

The collection is grouped like the reference (Doors and access, People, FireBird controllers…). Every request already sends `Accept: application/json` and your key; path values such as `:id` are filled in on the **Params** tab.

## Bruno and Insomnia

Both import the OpenAPI file directly:

- **Bruno**: Collection → **Import Collection** → **OpenAPI V3** → choose [`openapi.json`](https://go.thebuilding.cloud/developers/openapi.json).
- **Insomnia**: **Import** → paste `https://go.thebuilding.cloud/developers/openapi.json`.

Add a Bearer token with your API key on the collection.

## OpenAPI

- [`openapi.json`](https://go.thebuilding.cloud/developers/openapi.json) and [`openapi.yaml`](https://go.thebuilding.cloud/developers/openapi.yaml) (OpenAPI 3.0).
- Generate a client in almost any language with [OpenAPI Generator](https://openapi-generator.tech) or your language's own tools.
- The file is updated every time we release. Endpoints that tools rely on are checked automatically so they are not dropped by accident.

## cURL

Every endpoint in the [API reference](https://go.thebuilding.cloud/developers/reference) has a ready-to-copy cURL example, as well as JavaScript, PHP and Python.
