Xe Code API

QR code and barcode generation — PNG, SVG, batch jobs, 10+ formats

https://api.xeboki.com/v1/code/5 endpoints

Authentication

All requests require a valid API key with the appropriate scope. Create keys at account.xeboki.com/connected-apps.

Authorization: Bearer xbk_live_your_key_here

Endpoints

POST/v1/code/qr

Generate a QR code (PNG or SVG)

code:qr:generate
POST/v1/code/barcode

Generate a linear barcode (PNG)

code:barcode:generate
POST/v1/code/batch/qr

Batch-generate multiple QR codes (Pro+)

code:batch:write
GET/v1/code/usage

Get current export usage for this key

code:usage:read
GET/v1/code/types

List supported QR and barcode formats

public

Example Request

curl
curl https://api.xeboki.com/v1/code/qr \
  -H "Authorization: Bearer xbk_live_your_key_here"
Response200 OK
{
  "data": [ ... ],
  "total": 42,
  "page": 1
}

Required Scopes

code:qr:generate
code:barcode:generate
code:batch:write
code:usage:read

Principle of least privilege

Grant only the scopes your integration actually needs. A read-only reporting integration should never have write scopes.