Skip to content
Docs

Getting a Bouw7 (Exact Online Bouw) API key

This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.

Distilled from Exact’s own documentation: the Bouw7 API getting-started page and its application registration page. Retrieved 2026-08-25.

Two things are needed before a connection works, and they come from two different places: you register the application, and the customer supplies the API key of the organization you will be working in. Neither can be done by the other party, so start both early.

  1. Go to the registration page.
  2. Fill in the Application name — the full name of your application.
  3. Fill in the Application identifier. Exact’s own wording: “Please specify a short name that identifies your application. This name is used in the URL for authenticating with the API and may only consist of lower-case letters and numbers.” It becomes the {app_name} path segment of https://heimdall.bouw7.nl/auth/login/{app_name}/apiKey, so pick something you are willing to keep.
  4. Fill in the Business case — why you want to integrate Bouw7 and what you intend to do with it.
  5. Fill in your name, e-mail address and phone number. The e-mail address is where the approval notification and later API announcements go.
  6. Submit the application. A member of Exact’s staff reviews it by hand; you are notified by e-mail once it is accepted. There is no self-service path and no published turnaround time — allow for it in your planning.
  1. The API is always used in the context of one organization registered in Bouw7, and the API key is what selects it. Ask the customer for the API key of the organization you will work in, or ask Exact for a key against a test environment while you build.
  1. Exchange the key for a token. This is the only thing the API key is used for — it is never sent to the API itself:

    Terminal window
    curl https://heimdall.bouw7.nl/auth/login/${YOUR_APPLICATION_NAME}/apiKey -i \
    -H "Accept: application/json" \
    -X POST -d "apiKey=${YOUR_API_KEY}"
  2. A successful exchange returns a JSON body with token, iat, nbf, exp and dn. In Exact’s documented example the token is issued at 2019-09-16T14:21:25+02:00 and expires at 2019-09-17T14:21:25+02:00 — a 24-hour lifetime. Exact states the lifetime only through that example, and it does not hold: a live token measured on 2026-09-25 lived 15 minutes. Read exp rather than assuming it.

  3. Send the returned token — not the API key — as a bearer token on every call:

    Terminal window
    curl 'https://heimdall.bouw7.nl/organization' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiJ9...'
  4. GET /organization/me and GET /organization/me/permissions are a good first pair of calls: they confirm which organization the key resolved to and what that organization is permitted to do, without touching any business data.

  • A POST to an existing resource is treated as a PATCH. Exact does this on purpose, so that a client generated from an older copy of the spec cannot blank out a property it has never heard of. The consequence is that clearing a value requires sending it explicitly as NULL — an omitted field is left alone.
  • The API key is long-lived and the token is not. Anything holding the connection has to redo the exchange when exp passes. The key itself carries no expiry that Exact documents.

Open Connections under Credentials, choose Exact Online, and pick Bouw7 (Exact Online Bouw) API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.

See also: Exact Online in the catalog.

This guide is maintained by Publicus and published under CC BY 4.0.