API documentation

Create QR codes and barcodes from your product with a REST API. Send JSON to /api/v1, get back hosted SVG artwork, then list or update the same resources.

Create a QR code

POST /api/v1/qr-codes with a type, content, and optional design: colors, module style, logo, eyes, and frame. The response includes a hosted SVG URL.

{
  "name": "Website QR",
  "type": "url",
  "url": "https://forqrcode.com",
  "style": "rounded",
  "size": 500,
  "ecc": "M",
  "foreground_color": "#17191c",
  "background_color": "#ffffff",
  "qr_code_logo": "https://forqrcode.com/logo.png",
  "qr_code_logo_size": 25
}
QR create reference

Create a barcode

POST /api/v1/barcodes with a symbology, value, and optional colors or size. Thirty-four types are available, from Code 128 to EAN-13.

{
  "name": "Product SKU",
  "type": "C128",
  "value": "FORQR-1001",
  "foreground_color": "#17191c",
  "background_color": "#ffffff",
  "width_scale": 2,
  "height": 80,
  "display_text": true
}
Barcode create reference

Authentication

Send your API key as a Bearer token on every request. You can find or regenerate your key in Dashboard → Account → API.

Authorization: Bearer YOUR_API_KEY

Base URL: https://forqrcode.com/api/v1

Rate limits

Each API key is limited to 60 requests per minute. Responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers.

Errors

Errors use a JSON:API-style envelope:

{ "errors": [{ "title": "…", "status": "422" }] }

Validation errors may include a source.pointer field.