87cd2664770b

latestOpenAPI 3.0.12026-08-10193380.9 KB

Generate a ZIP archive of static QR code files

Create a ZIP archive containing up to 50 static QR code assets plus manifest.csv and manifest.json. Use this for spreadsheet, label, classroom, packaging, and agent batch workflows. The endpoint uses the same QR validation, optional API key, security headers, and cost-weighted rate-limit model as the single-code generator.

post/.netlify/functions/generate-qr-bulk

Request body

format'svg' | 'png' | 'jpg' | 'webp' | 'pdf' | 'eps'

Shared output format for every generated QR file in the ZIP

sizeinteger

Pixel width/height for SVG and raster assets, point size for EPS/PDF QR artwork

margininteger

Quiet-zone margin around every QR code

fgColorstring

Shared foreground color

bgColorstring

Shared background color

errorCorrectionLevel'L' | 'M' | 'Q' | 'H'

Shared QR error correction level

Response

Generated ZIP archive returned as JSON or binary ZIP when Accept includes application/zip

successboolean
datastring

Base64 encoded ZIP archive containing QR files plus manifest.csv and manifest.json

dataUrlstring

Ready-to-download ZIP data URL

contentTypestring
extensionstring
suggestedFilenamestring
byteLengthinteger

Exact ZIP byte length

fileCountinteger

Number of generated QR files in the ZIP

failedCountinteger

Number of rows recorded as failed in the manifest

Example response

{
  "success": true,
  "dataUrl": "data:application/zip;base64,UEsDB...",
  "contentType": "application/zip",
  "extension": "zip",
  "suggestedFilename": "qrcodecrafter-bulk-svg.zip",
  "manifest": [
    {
      "filename": "homepage.svg",
      "value": "https://example.com"
    }
  ]
}