Skip to main content
The Omneo Barcode service generates barcode images that can be embedded anywhere an <img> tag is accepted, emails, web pages, digital wallet passes, and more. Barcodes are authenticated via HMAC to prevent unauthorised generation.

How it works

  1. Decide on your barcode parameters (data, type, dimensions, colours)
  2. Generate an HMAC-256 token from your parameters using your Omneo barcode secret
  3. Set the barcode service URL as the src of an <img> tag

Live example

The image below is generated in real time by the Omneo Barcode service using the parameters and token shown in Authentication, view source on this page to see the exact <img> tag. Live barcode encoding OmneoBarcodes

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=...):
The token is only valid for the exact set of parameters used to generate it. Changing any parameter invalidates the token.

Barcode types

Key parameters

Common use case: Loyalty card barcode in email

Generate a barcode with the customer’s loyalty card number for inclusion in a welcome email: