QR 코드 및 바코드 API 레퍼런스
Two endpoints, one envelope. Generate QR codes and 1D barcodes in batches, get back a ZIP with every image plus a CSV manifest — built for print shops, ERPs and label pipelines that cannot afford a manual step.
Overview
Batch QR generation for posters, product labels and mail merges.
One request turns a list of strings into a ZIP of QR images plus a CSV manifest. The endpoint accepts application/json, a form post, or a query string; any field you omit falls back to the default listed under Request parameters.
data.qrcode_data[n].path.Endpoint
https://api-v2.qrbatch.com/qrbatchv4api/create/createAPI.php
Base host: api-v2.qrbatch.com. HTTPS only. CORS is open (Access-Control-Allow-Origin: *), so browser-side calls work, but never ship a token inside client-side code.
create/create_svg.php with the same payload. Batches of 100 or more return 202 with a job_id; poll create/create_status.php?job_id=… until it answers code: 0.Authentication
Body token, no header plumbing.
Every request may carry a token — the auth code shown in your account. Signed-in calls draw from your plan quota; calls without a token draw from the anonymous per-IP allowance.
{{ token ? token : 'No token attached — anonymous quota applies' }}
Clicking fills your live token into every example on this page. The token is read from your signed-in session in this browser — it is never sent to us by this page.
Where the token lives
- Send it in the request body as
"token": "…". There is noAuthorizationheader handling. - An invalid or expired token answers
302; treat it as "signed out" and re-authenticate rather than retrying. - Rotating your password invalidates previously issued tokens.
Quotas & limits
Quota is counted per generated item, not per request. The allowance resets at 00:00 server time.
| Caller | Daily allowance | Per-request cap | Rejection |
|---|---|---|---|
| Anonymous (no token) | 50 codes per IP address | 50 | 301 |
| Signed in | Your plan’s daily volume | Your plan’s batch size | 303 |
| Add-on packs | Added on top of the plan allowance | — | — |
Request parameters
Grouped by object. Only contents is strictly required.
Top level
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contents |
array | string | required | — | QR payloads, one per image. A plain string is split on newlines; empty lines are dropped. |
data |
array | string | optional | — | Alias of contents, honoured only when contents is empty or missing. |
token |
string | optional | "" | Account auth code. Empty means the anonymous per-IP allowance. |
file_name_type |
int | optional | 1 | 1 = sequential index (1, 2, …), 2 = sanitized content, 3 = the matching entry from names. |
labels |
array | string | optional | [] | Caption printed under each code when label_setting.use_content is 0. Length must equal contents, otherwise 302. |
names |
array | string | optional | [] | File names used when file_name_type is 3. |
color |
object | optional | see below | Module, background and caption colours. |
base |
object | optional | see below | Size, DPI and image format. |
logo |
object | optional | see below | Centre logo overlay. |
label_setting |
object | optional | see below | Caption typography and placement. |
base — geometry & format
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
size |
int | optional | 200 | Image side length in pixels. |
margin |
int | optional | 10 | Quiet-zone padding in pixels. Keep at least 4 modules of white space for reliable scanning. |
dpi |
int | optional | 96 | Written into the PNG metadata; use 300 for print. |
img_type |
int | optional | 1 | 1 = PNG, 2 = JPEG. |
transparent |
bool | optional | false | Transparent background (PNG only). |
fault |
string | optional | Medium-High | Error correction: Low, Medium-Low, Medium-High, High. Raise it when a logo covers the centre. |
color
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
front_color |
string | optional | "0,0,0" | QR module colour, as an R,G,B triplet. |
bg_color |
string | optional | "255,255,255" | Background colour, as an R,G,B triplet. |
font_color |
string | optional | "0,0,0" | Caption text colour, as an R,G,B triplet. |
logo
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
size |
int | optional | 2 | Logo width as a fraction of the code width — 2 means 20%. |
file |
string | optional | "" | Path or URL of the logo image on the server. |
label_setting
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
show_label |
int | optional | 0 | 1 prints a caption band under the code; 0 leaves it bare. |
use_content |
int | optional | 1 | 1 = caption repeats the QR content, 0 = caption comes from labels[]. |
font_size |
int | optional | 15 | Caption font size in pixels. |
margin |
int | optional | 10 | Gap in pixels between the code and the caption. |
location |
string | optional | bottom | bottom or top. |
font_type |
int | optional | 1 | Accepted for compatibility with the web app; the API path always uses the bundled font. |
line_type |
int | optional | 1 | Accepted for compatibility with the web app; it does not alter API output. |
color are RGB triplets such as "0,0,0", not hex. Hex values belong to the web-app payload, which is a different schema.Code examples
The same call in six flavours.
Replace YOUR_TOKEN with your auth code, or press Get my token above to fill every example at once.
Payload
{
"contents": ["https://example.com/p/1001", "https://example.com/p/1002"],
"file_name_type": 1,
"base": {
"size": 600,
"margin": 12,
"dpi": 300,
"img_type": 1,
"fault": "Medium-High"
},
"color": {
"front_color": "0,0,0",
"bg_color": "255,255,255",
"font_color": "0,0,0"
},
"label_setting": {
"show_label": 0,
"use_content": 1,
"font_size": 15,
"margin": 10,
"location": "bottom"
},
"token": "YOUR_TOKEN"
}
Same request, five languages
curl -X POST "https://api-v2.qrbatch.com/qrbatchv4api/create/createAPI.php" \
-H "Content-Type: application/json" \
-d '{
"contents": ["https://example.com/p/1001", "https://example.com/p/1002"],
"file_name_type": 1,
"base": { "size": 600, "margin": 12, "dpi": 300 },
"token": "YOUR_TOKEN"
}'
const res = await fetch('https://api-v2.qrbatch.com/qrbatchv4api/create/createAPI.php', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
contents: ['https://example.com/p/1001', 'https://example.com/p/1002'],
file_name_type: 1,
base: { size: 600, margin: 12, dpi: 300 },
token: 'YOUR_TOKEN'
})
});
const { code, message, data } = await res.json();
if (code !== 0) throw new Error(message);
console.log(data.num, 'codes', data.zip_path);
import requests
res = requests.post(
"https://api-v2.qrbatch.com/qrbatchv4api/create/createAPI.php",
json={
"contents": ["https://example.com/p/1001", "https://example.com/p/1002"],
"file_name_type": 1,
"base": {"size": 600, "margin": 12, "dpi": 300},
"token": "YOUR_TOKEN",
},
timeout=120,
)
payload = res.json()
if payload.get("code") != 0:
raise RuntimeError(payload.get("message"))
for item in payload["data"]["qrcode_data"].values():
print(item["file_name"], item["path"])
<?php
$payload = [
"contents" => ["https://example.com/p/1001", "https://example.com/p/1002"],
"file_name_type" => 1,
"base" => ["size" => 600, "margin" => 12, "dpi" => 300],
"token" => "YOUR_TOKEN",
];
$ch = curl_init("https://api-v2.qrbatch.com/qrbatchv4api/create/createAPI.php");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode($payload),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 120,
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $res["code"] === 0 ? $res["data"]["zip_path"] : $res["message"];
const axios = require('axios');
axios.post('https://api-v2.qrbatch.com/qrbatchv4api/create/createAPI.php', {
contents: ['https://example.com/p/1001', 'https://example.com/p/1002'],
file_name_type: 1,
base: { size: 600, margin: 12, dpi: 300 },
token: 'YOUR_TOKEN'
}).then(({ data }) => {
if (data.code !== 0) throw new Error(data.message);
console.log(data.data.num, data.data.zip_path);
}).catch(err => console.error(err.message));
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
func main() {
body, _ := json.Marshal(map[string]any{
"contents": []string{"https://example.com/p/1001", "https://example.com/p/1002"},
"file_name_type": 1,
"base": map[string]any{"size": 600, "margin": 12, "dpi": 300},
"token": "YOUR_TOKEN",
})
resp, err := http.Post("https://api-v2.qrbatch.com/qrbatchv4api/create/createAPI.php", "application/json", bytes.NewBuffer(body))
if err != nil {
panic(err)
}
defer resp.Body.Close()
var out struct {
Code int `json:"code"`
Message string `json:"message"`
Data struct {
ZipPath string `json:"zip_path"`
Num int `json:"num"`
} `json:"data"`
}
json.NewDecoder(resp.Body).Decode(&out)
if out.Code != 0 {
panic(out.Message)
}
fmt.Println(out.Data.ZipPath)
}
application/x-www-form-urlencoded and let arrays serialise as contents[]=…. Nested objects still need to be JSON strings — they are parsed automatically on arrival.Response
Synchronous — the work is done by the time you get 200.
{
"code": 0,
"data": {
"qrcode_data": {
"0": {
"path": "https://api-v2.qrbatch.com//qrbatchv4api/create/img/2026-10-26-101530-482/1.png",
"file_name": "1",
"content": "https://example.com/p/1001"
},
"1": {
"path": "https://api-v2.qrbatch.com//qrbatchv4api/create/img/2026-10-26-101530-482/2.png",
"file_name": "2",
"content": "https://example.com/p/1002"
}
},
"finish": 1,
"domain": "https://api-v2.qrbatch.com/",
"num": 2,
"zip_path": "https://qrbatchzip-1256595918.cos.ap-singapore.myqcloud.com/qrcode/20261026-101530-6512a1b2c3d4e.zip",
"time": "0.42",
"create_time": "2026-10-26 10:15:30"
}
}
Field reference
| Field | Type | Description |
|---|---|---|
code |
int | 0 on success; anything else is an error — see Error codes. |
data.qrcode_data |
object | Generated images keyed by their position in contents. |
…[n].path |
string | Absolute URL of the image. Use this directly. |
…[n].file_name |
string | File name without extension. |
…[n].content |
string | The content that was encoded. |
data.num |
int | Number of images actually produced (empty inputs are skipped). |
data.finish |
int | 1 when the batch completed in this response. |
data.zip_path |
string | Absolute URL of a ZIP containing every image plus a CSV manifest. |
data.time |
string | Server-side duration in seconds, as a string. |
data.create_time |
string | Server timestamp, YYYY-MM-DD HH:MM:SS. |
Error codes
Failures return HTTP 200 with a non-zero code and a human-readable message. Branch on code, never on the message text.
| code | Meaning | What to do |
|---|---|---|
| 0 | Success | — |
| 301 | Missing contents, or the anonymous per-IP allowance is exhausted. |
Add contents; sign in or attach a token for a larger allowance. |
| 302 | Token could not be decrypted, or contents and labels have different lengths. |
Re-issue the token; align the two arrays. |
| 303 | Daily account allowance exhausted. | Reduce the batch or upgrade the plan. |
| 304 | Batch larger than the plan’s per-request cap. | Split the job into smaller batches. |
| 404 | Calling IP is blocklisted. | Contact support with your egress IP. |
| 500 | Server-side file or archive creation failed. | Retry once; if it persists, contact support. |
Notes
- Fields that look like JSON —
color,base,logo,labels,label_setting— are parsed automatically when sent as strings, so form posts and query strings behave like JSON. - Omitted fields use the defaults in Request parameters; you never have to send the full object.
- Empty or whitespace-only entries are dropped, so the number of images can be smaller than the number of inputs. Check
data.num. - Quota is consumed per produced image, not per request.
- Payloads are plain text — URLs with tracking parameters are encoded verbatim.
- Requests are rate-limited per IP in addition to the daily quota.
Support
Stuck on a response code? Send us the request you made (with the token removed) and the full response body — that is usually enough to pinpoint it.
Overview
Retail GTINs, GS1 logistics labels, asset tags and serial plates.
The Barcodes API renders 1D symbologies in batches. Send a list of values plus one code_type and you get back a ZIP of PNG, JPEG or SVG files, each named the way you asked for.
base.size is the width of the narrowest bar, base.height is how tall the bars are. Everything else derives from those, so a label that is 40 mm wide at 300 DPI is size: 3, height: 300, dpi: 300.Endpoint
https://api-v2.qrbatch.com/qrbatchv4api/barcode/createAPI.php
하나의 엔드포인트가 모든 출력 형식을 처리합니다. JSON 본문에서 base.img_type을 지정하세요. 요청과 응답 구조는 동일하므로 미리보기 PNG에서 인쇄용 SVG로 바꾸는 것은 필드 하나만 수정하면 됩니다.
base.img_type |
출력 | 파일 | 인코더 | 용도 |
|---|---|---|---|---|
| 1 | PNG |
.png |
래스터 | 기본값. 화면 표시, PDF 삽입, 주문형 라벨 프린터. |
| 2 | JPEG |
.jpg |
래스터 | 투명도가 필요 없을 때 더 작은 파일. |
| 3 | SVG |
.svg |
벡터 | 오프셋 및 플렉소 인쇄. 어떤 크기에서도 바가 선명하며 파일당 몇 KB입니다. |
application/json을 받습니다.Supported symbologies
Ten code_type values, mapped to the encoders below.
code_type applies to the whole batch. To mix symbologies, send several requests — or use the QR API above if your payload is free-form text.
| code_type | Symbology | Input | Typical use |
|---|---|---|---|
code128 |
Code 128 (auto subset) | Any ASCII character; the encoder picks subset A/B/C per value. | Shipping, asset tags — the densest general-purpose 1D code |
code128A |
Code 128 subset A | Uppercase, digits and control characters. | Older systems locked to uppercase |
code128B |
Code 128 subset B | Full ASCII including lowercase. | Mixed-case text |
code128C |
Code 128 subset C | Digits only, in pairs. | Numeric serials, GS1 data |
code39 |
Code 39 | A–Z, 0–9, and - . $ / + % and space. |
Industrial, automotive, defence |
code39ext |
Code 39 Extended | Full ASCII via shift pairs. | Legacy systems that need symbols |
ean13 |
EAN-13 | 13 digits including the check digit. | Retail GTIN-13 |
ean8 |
EAN-8 | 8 digits including the check digit. | Small retail packages |
ean128 |
GS1-128 | GS1 application identifiers, e.g. (01)…(10)…. |
Shipping and food traceability |
upc |
UPC-A | 12 digits including the check digit. | North American retail |
Request parameters
Top level
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contents |
array | required | — | One barcode value per item. Empty entries are skipped. |
base |
object | required | — | Geometry and output format. The key must be present even if you only override one field. |
code_type |
string | optional | code128 | Symbology for the whole batch — see Supported symbologies. Unknown values fall back to Code 128. |
token |
string | optional | "" | Account auth code. Empty means the anonymous per-IP allowance. |
file_name_type |
int | optional | 1 | 1 = sequential index, 2 = sanitized content, 3 = the matching entry from names. |
names |
array | optional | [] | File names used when file_name_type is 3. |
show_label |
bool | optional | true | 바 아래에 값을 사람이 읽을 수 있는 텍스트로 인쇄합니다. SVG 출력은 base.height 위에 캡션 영역이 추가됩니다. |
font_size |
int | optional | 12 | 캡션 글자 크기(픽셀). 모든 형식에 적용됩니다. |
color |
object | optional | see below | Bar and background colours. |
base — geometry & format
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
size |
int | optional | 2 | Width of the narrowest bar, in pixels. This is the scan-density dial. |
height |
int | optional | 60 | Bar height in pixels, excluding the caption band. |
margin |
int | optional | 10 | Quiet-zone padding in pixels added on all four sides. |
dpi |
int | optional | 96 | Written into the PNG metadata; use 300 for print. |
img_type |
int | optional | 1 | 1 = PNG, 2 = JPEG, 3 = SVG. 세 형식 모두 같은 엔드포인트가 반환합니다. |
transparent |
bool | optional | false | 배경판을 생략합니다. PNG와 SVG에 적용되며 JPEG는 투명도를 지원하지 않습니다. |
color
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
front_color |
string | optional | "#000000" | Bars, as a hex colour such as #0f766e. |
bg_color |
string | optional | "#FFFFFF" | Background, as a hex colour. |
R,G,B triplets. Sending "0,0,0" here produces black but "255,255,255" is not a valid background — use "#FFFFFF".Code examples
Replace YOUR_TOKEN with your auth code, or press Get my token in Authentication to fill every example on this page.
Payload
{
"contents": ["QRB-2026-0001", "QRB-2026-0002"],
"code_type": "code128",
"file_name_type": 1,
"show_label": true,
"font_size": 12,
"base": {
"size": 2,
"height": 60,
"margin": 10,
"dpi": 300,
"img_type": 1
},
"color": {
"front_color": "#000000",
"bg_color": "#FFFFFF"
},
"token": "YOUR_TOKEN"
}
A retail GTIN batch
{
"contents": ["4006381333931", "4006381333948"],
"code_type": "ean13",
"show_label": false,
"base": { "size": 2, "height": 80, "margin": 12, "dpi": 300 },
"token": "YOUR_TOKEN"
}
Same request, four languages
curl -X POST "https://api-v2.qrbatch.com/qrbatchv4api/barcode/createAPI.php" \
-H "Content-Type: application/json" \
-d '{
"contents": ["QRB-2026-0001", "QRB-2026-0002"],
"code_type": "code128",
"show_label": true,
"base": { "size": 2, "height": 60, "margin": 10, "dpi": 300 },
"token": "YOUR_TOKEN"
}'
const res = await fetch('https://api-v2.qrbatch.com/qrbatchv4api/barcode/createAPI.php', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
contents: ['QRB-2026-0001', 'QRB-2026-0002'],
code_type: 'code128',
show_label: true,
base: { size: 2, height: 60, margin: 10, dpi: 300 },
token: 'YOUR_TOKEN'
})
});
const { code, message, data } = await res.json();
if (code !== 0) throw new Error(message);
// path is relative; domain is the absolute prefix
data.qrcode_data && Object.values(data.qrcode_data).forEach(item => {
console.log(item.domain + item.path);
});
import requests
res = requests.post(
"https://api-v2.qrbatch.com/qrbatchv4api/barcode/createAPI.php",
json={
"contents": ["QRB-2026-0001", "QRB-2026-0002"],
"code_type": "code128",
"show_label": True,
"base": {"size": 2, "height": 60, "margin": 10, "dpi": 300},
"token": "YOUR_TOKEN",
},
timeout=120,
)
payload = res.json()
if payload.get("code") != 0:
raise RuntimeError(payload.get("message"))
zip_url = payload["data"]["zip_path"]
print(zip_url)
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
func main() {
body, _ := json.Marshal(map[string]any{
"contents": []string{"QRB-2026-0001", "QRB-2026-0002"},
"code_type": "code128",
"show_label": true,
"base": map[string]any{"size": 2, "height": 60, "margin": 10, "dpi": 300},
"token": "YOUR_TOKEN",
})
resp, err := http.Post("https://api-v2.qrbatch.com/qrbatchv4api/barcode/createAPI.php", "application/json", bytes.NewBuffer(body))
if err != nil {
panic(err)
}
defer resp.Body.Close()
var out struct {
Code int `json:"code"`
Data struct {
Domain string `json:"domain"`
ZipPath string `json:"zip_path"`
} `json:"data"`
}
json.NewDecoder(resp.Body).Decode(&out)
fmt.Println(out.Data.Domain + out.Data.ZipPath)
}
Response
{
"code": 0,
"data": {
"barcode_data": [
{
"path": "https://api-v2.qrbatch.com/qrbatchv4api/barcode/img/2026-10-26-101530-482/1.png",
"file_name": "1",
"content": "QRB-2026-0001",
"format": "png"
},
{
"path": "https://api-v2.qrbatch.com/qrbatchv4api/barcode/img/2026-10-26-101530-482/2.png",
"file_name": "2",
"content": "QRB-2026-0002",
"format": "png"
}
],
"finish": 1,
"domain": "https://api-v2.qrbatch.com/",
"num": 2,
"skipped": {},
"time": "0.08",
"create_time": "2026-10-26 10:15:30",
"zip_path": "https://qrbatchzip-1256595918.cos.ap-singapore.myqcloud.com/barcode/20261026-101530-6512a1b2c3d4e.zip"
}
}
path와 zip_path는 그대로 사용할 수 있으며 연결할 필요가 없습니다. domain은 이전 계약으로 작성된 클라이언트를 위해 유지됩니다.Field reference
| Field | Type | Description |
|---|---|---|
code |
int | 0 on success — see Error codes. |
data.barcode_data |
object | 보낸 순서대로 정렬된 생성 파일. qrcode_data는 호환 별칭으로 유지됩니다. |
…[n].path |
string | 생성 파일의 절대 URL. 그대로 사용하세요. |
…[n].domain |
string | 호환성을 위해 유지됩니다. path는 이미 절대 URL입니다. |
…[n].file_name |
string | File name without extension. |
…[n].content |
string | The value that was encoded. |
…[n].format |
string | 이 항목의 확장자: png, jpg, svg. |
data.skipped |
object | 인코딩하지 못한 값으로, contents의 인덱스를 키로 합니다. 일부가 실패한 경우에만 포함됩니다. |
data.num |
int | Number of files produced. |
data.finish |
int | 1 when the batch completed. |
data.zip_path |
string | ZIP 묶음의 절대 URL. |
data.time |
string | Server-side duration in seconds, as a string. |
data.create_time |
string | Server timestamp. |
Vector (SVG) output
Same payload, smaller feature set.
"base": { "img_type": 3 }을 보내면 같은 엔드포인트가 벡터 인코더로 전환됩니다. 출력은 진짜 벡터이며 어떤 인쇄 크기에서도 바가 선명하고 파일당 몇 KB입니다.
| 동작 | PNG·JPEG (img_type 1–2) |
SVG (img_type 3) |
|---|---|---|
지원 code_type |
10가지 모두 | 10가지 중 9가지 — ean128은 code: 306을 반환합니다 |
base.size |
가장 좁은 바의 너비(픽셀) | 계산된 바 패턴에 적용되는 너비 배율 |
base.height |
바 높이(픽셀) | 바 높이(픽셀). 캡션 영역이 2 × font_size만큼 추가됩니다 |
font_size |
적용됨 | 적용됨 — 캡션 크기를 지정합니다 |
margin, dpi |
적용됨 | 무시됨 — 여백은 레이아웃에서 처리하세요 |
transparent |
적용됨(PNG) | 적용됨 — 배경판을 생략합니다 |
| EAN-13 체크 디지트 | 직접 제공해야 함 | 12자리에서 자동 계산 |
{
"contents": ["4006381333931"],
"code_type": "ean13",
"show_label": true,
"base": { "size": 2, "height": 60, "img_type": 3 },
"color": { "front_color": "#000000" },
"token": "YOUR_TOKEN"
}
format 확인: 각 항목은 png, jpg, svg 중 하나를 보고합니다. 요청한 형식과 비교하세요. img_type 오타를 가장 빨리 찾는 방법입니다.Error codes
Same envelope as the QR API: HTTP 200 with a numeric code on failure. Branch on the number, not the message.
| code | Meaning | What to do |
|---|---|---|
| 0 | Success | — |
| 301 | contents missing or not an array, base missing, or the anonymous per-IP allowance is exhausted. |
Send both keys; sign in or attach a token for more volume. |
| 302 | Token could not be decrypted. | Re-issue the token; check for truncation. |
| 303 | Daily allowance exhausted, or the batch exceeds the per-request cap. | Split the batch or upgrade the plan — the response carries limit, used and remaining. |
| 305 | base.img_type이 1, 2, 3 중 하나가 아닙니다. |
문서화된 세 값 중 하나를 보내세요. |
| 306 | 알 수 없는 code_type이거나 요청한 형식으로 인코딩할 수 없는 코드입니다(예: img_type: 3과 ean128). |
지원되는 심볼로지를 선택하거나 img_type: 1로 전환하세요. |
| 307 | 배치의 모든 값을 인코딩하지 못했습니다. | data.skipped에서 항목별 이유를 확인하세요. |
| 404 | Calling IP is blocklisted. | Contact support with your egress IP. |
| 500 | 출력 디렉터리를 생성하거나 쓸 수 없습니다. | 한 번 다시 시도하세요. 계속되면 create_time과 함께 지원팀에 문의하세요. |
Notes
- Quiet zone is not optional. Keep
base.marginat 10 px or more. A barcode pasted flush against artwork frequently fails to scan even though it looks fine. - Bar width beats height. If a scanner struggles, raise
base.sizebefore raisingheight— height buys tolerance to being scanned at an angle, width buys resolution. - One symbology per request.
code_typeis batch-wide; split mixed jobs into separate calls and merge the ZIPs yourself. - File names are sanitised. With
file_name_type: 2anything outside[A-Za-z0-9-]becomes an underscore, and collisions get a numeric suffix. - Caption fonts. PNG/JPEG captions render with the bundled font at
font_size; there is no custom-font option on the API path. - Quota is consumed per produced file, and empty
contentsentries are skipped before counting.
Support
For symbology-specific problems (a code that scans on one device but not another), send us the image, the encoded value and the scanner model. That combination resolves most cases in one reply.