QR codes and scan URLs
Every WhatsBuilt QR code holds a URL in the GS1 Digital Link form, using application identifier 8004:
https://qr.whatsbuilt.fi/8004/<GIAI>The URL needs no sign-in, so any QR reader or system can open it.
The GIAI
Section titled “The GIAI”A GIAI identifies one label, and is at most 30 characters.
| Account | Form | Example |
|---|---|---|
| Has a GS1 company prefix | Prefix, WB and 12 digits |
6430001WB000000012842 |
| Has no prefix | WB- and 12 digits. Deliberately not shaped like a GS1 identifier |
WB-000000012842 |
What the URL answers
Section titled “What the URL answers”GET /8004/{giai} answers by the request’s Accept header:
| Request | Answer |
|---|---|
Accept contains text/html, as in a browser |
302 to the element’s inspection page in the app |
| Any other client, code found | 200 with JSON, below |
| Any other client, code not found | 404 with an error body |
| More than 100 requests from one IP address in 5 minutes | 429 |
{ "giai": "WB-000000012842", "digital_link": "https://qr.whatsbuilt.fi/8004/WB-000000012842", "status": "active", "assigned": true}| Field | Meaning |
|---|---|
giai |
The identifier |
digital_link |
The code’s URL |
status |
unassigned, active (assigned to an element) or retired |
assigned |
true when the code is tied to a project and an element |
The answer says nothing about the element, the project or the inspection. Reading those needs a signed-in user.
An older short form, GET /qr/{code}, answers 301 to the same URL. It shares the same limit.