The Omneo Barcode service generates barcode images that can be embedded anywhere anDocumentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
<img> tag is accepted — emails, web pages, digital wallet passes, and more. Barcodes are authenticated via HMAC to prevent unauthorised generation.
How it works
- Decide on your barcode parameters (data, type, dimensions, colours)
- Generate an HMAC-256 token from your parameters using your Omneo barcode secret
- Set the barcode service URL as the
srcof an<img>tag
Authentication
Get your barcode secret from your Omneo administrator. The secret is tenant-specific. Generate the HMAC-256 token from your parameters string (everything except&token=...):
Barcode types
| Type | Character restrictions |
|---|---|
code128 | Full ASCII |
code39 | Alphanumeric + -. $/+% |
ean13 | 12 numerical digits |
ean8 | 7 numerical digits |
datamatrix | No restrictions (2D) |
upc | 11 numerical digits |
qr | Full Unicode (2D) |
Key parameters
| Parameter | Description | Default |
|---|---|---|
data | Value to encode | Required |
type | Barcode type (see above) | Required |
token | HMAC-256 authentication token | Required |
color | Bar colour (hex or named) | black |
bgColor | Background colour | white |
padding | Padding in pixels (all sides) | 0 |
width | Image width in pixels | 150 |
height | Image height in pixels | 150 |
barWidth | Bar width in pixels (1D only) | 1 |
barHeight | Bar height in pixels (1D only) | 50 |
hriShow | Show human-readable text below barcode | true |
hriFontFamily | Font for human-readable text | Geneva |
hriFontSize | Font size for human-readable text | — |
hriMarginTop | Margin between barcode and HRI text | 0 |