Passports
Render the passport's QR code (by serial).
Same shape as GET /api/v1/passports/{id}/qr.
get/api/v1/passports/by-serial/{serial}/qr
Request
- Base URL: https://app.tracepass.eu
- URL: https://app.tracepass.eu/api/v1/passports/by-serial/{serial}/qr
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.tracepass.eu/api/oauth/authorize, token URL https://app.tracepass.eu/api/oauth/token, scopes: passports:read)
Query parameters
format'svg' | 'png' | 'json'
symbology'qr' | 'datamatrix'
The 2D symbology to render. EN 18220:2026 permits QR Code (ISO/IEC 18004) and Data Matrix (ISO/IEC 16022); both encode the same URL. Data Matrix suits small parts and direct part marking. With datamatrix, an 8-char backgroundColor renders opaque unless its alpha is 00 (fully transparent).
useCompanyBranding'true'
colorstring
backgroundColorstring
Response
QR rendering.
Example response
{
"passportId": "6650a1b2c3d4e5f6a7b8c9d0",
"gtin": "04012345000015"
}Changes
No recorded changes to this operation across all 1 revision of this API.