Attestations
Get Barcode
GET
Generate a Code 128 barcode image for an attestation. The barcode encodes only the attestation ID, making it compact enough for physical labels, receipts, and packaging.
Use cases
- Supply chain labels and inventory tags
- Physical receipts and access cards
- Printed documents where space is limited
- Barcode scanner-friendly environments (warehouses, retail)
Parameters
string
required
The UUID of the attestation
integer
default:"300"
Image width in pixels (100 to 800)
integer
default:"80"
Image height in pixels (40 to 200)
Response
Returns a PNG image withContent-Type: image/png.
The response includes aggressive cache headers (Cache-Control: public, max-age=31536000, immutable) since barcodes for a given attestation never change.

