Skip to main content
POST
Batch Render 2D barcodes
Render up to 10 codes in one request. The response has the same codes and errors structure as batch generation. Each successful code also contains image, the SVG document encoded as Base64.

Request

The same modes, optional parameters and QR correction levels as single rendering apply. QR correction defaults to L. This endpoint requires write:codes.

Results

Successful entries contain reference, barcodeText, hri and image. Decode the Base64 value in image to UTF-8 SVG bytes and save them as an .svg file. Invalid items appear in errors with reference and an errors list containing code, path and args. They do not prevent other items from rendering. The response remains 200 OK, including when all items fail. Your reference is echoed unchanged. If omitted or null, the original zero-based position is returned as a string. Empty references are preserved. More than 10 items returns 422 with Validation.TooMany.codes before any rendering starts.

Authorizations

Authorization
string
header
required

The access_token from POST /oauth/token.

Body

codes
object[]
required
Maximum array length: 10

Response

Successful codes and per-item errors. Inspect errors even when the HTTP status is 200.

codes
object[]
required
errors
object[]
required