curl https://api.satyakod.com/v1/batches/B-1045 \
-H "Authorization: Bearer $SATYAKOD_KEY"
{
"id": "B-1045",
"productId": "prd_wb18",
"productName": "Wiper blade WB-18",
"gtin": "08901234567893",
"codeFamily": "gs1_signed",
"verification": "online",
"quantity": 5000,
"status": "printed",
"serialRange": { "first": "0021-A051-2PXK-20J9", "last": "0021-A051-7RQM-4D2K" },
"lot": "L2611A",
"printLine": "Pune line 2",
"signingKeyId": "acme-gs1-2026-01",
"scannedCount": 1312,
"createdBy": { "id": "12", "name": "Priya Nair", "email": "priya@example.com" },
"createdAt": "2026-11-02T09:14:00+00:00",
"updatedAt": "2026-11-03T11:40:00+00:00",
"symbology": "gs1_datamatrix",
"signingKeyAlgorithm": "HMAC-SHA256 · 32-bit tag",
"signedAt": "2026-11-02T09:15:00+00:00",
"signedBy": { "id": "12", "name": "Priya Nair", "email": "priya@example.com" },
"printedAt": "2026-11-03T11:40:00+00:00",
"goodCount": 4988,
"voidedCount": 12,
"counterfeitScans": 3,
"canSendToPrinter": false,
"downloads": [
{ "kind": "printer_job", "label": "Printer job", "format": "ZPL", "sizeBytes": 1450000 },
{ "kind": "serial_csv", "label": "Serial list", "format": "CSV", "sizeBytes": 160000 },
{ "kind": "proof_pdf", "label": "Proof sheet", "format": "PDF", "sizeBytes": 90000 }
],
"scannerPhones": 41
}
Batches and products
Get a batch
One batch, with its signing, printing and download details.
GET
/
v1
/
batches
/
{id}
curl https://api.satyakod.com/v1/batches/B-1045 \
-H "Authorization: Bearer $SATYAKOD_KEY"
{
"id": "B-1045",
"productId": "prd_wb18",
"productName": "Wiper blade WB-18",
"gtin": "08901234567893",
"codeFamily": "gs1_signed",
"verification": "online",
"quantity": 5000,
"status": "printed",
"serialRange": { "first": "0021-A051-2PXK-20J9", "last": "0021-A051-7RQM-4D2K" },
"lot": "L2611A",
"printLine": "Pune line 2",
"signingKeyId": "acme-gs1-2026-01",
"scannedCount": 1312,
"createdBy": { "id": "12", "name": "Priya Nair", "email": "priya@example.com" },
"createdAt": "2026-11-02T09:14:00+00:00",
"updatedAt": "2026-11-03T11:40:00+00:00",
"symbology": "gs1_datamatrix",
"signingKeyAlgorithm": "HMAC-SHA256 · 32-bit tag",
"signedAt": "2026-11-02T09:15:00+00:00",
"signedBy": { "id": "12", "name": "Priya Nair", "email": "priya@example.com" },
"printedAt": "2026-11-03T11:40:00+00:00",
"goodCount": 4988,
"voidedCount": 12,
"counterfeitScans": 3,
"canSendToPrinter": false,
"downloads": [
{ "kind": "printer_job", "label": "Printer job", "format": "ZPL", "sizeBytes": 1450000 },
{ "kind": "serial_csv", "label": "Serial list", "format": "CSV", "sizeBytes": 160000 },
{ "kind": "proof_pdf", "label": "Proof sheet", "format": "PDF", "sizeBytes": 90000 }
],
"scannerPhones": 41
}
Scope:
The response also carries what the dashboard’s batch form and print controls use:
batches:read. A batch number your workspace doesn’t have is a 404.
The response has every field of a list item, plus:
How the codes are printed:
gs1_datamatrix, gs1_qr, private_code, or serial only:
code128, datamatrix, qr.The batch’s files once signed:
kind (printer_job, serial_csv, proof_pdf), label,
format (ZPL, CSV, PDF) and sizeBytes (an estimate). Empty on drafts.Recall and copied-code notices sent to those phones, newest first:
id, kind (recall or
counterfeit), message, createdAt, notified (phones it went to) and, for a revoked range,
serials (first, last).regionIds,
regionLabel, serialFormat, labelTemplateId, printLineId, printLineDevice,
signingKeyLocation, canSendToPrinter, printRequestedAt and printError.
curl https://api.satyakod.com/v1/batches/B-1045 \
-H "Authorization: Bearer $SATYAKOD_KEY"
{
"id": "B-1045",
"productId": "prd_wb18",
"productName": "Wiper blade WB-18",
"gtin": "08901234567893",
"codeFamily": "gs1_signed",
"verification": "online",
"quantity": 5000,
"status": "printed",
"serialRange": { "first": "0021-A051-2PXK-20J9", "last": "0021-A051-7RQM-4D2K" },
"lot": "L2611A",
"printLine": "Pune line 2",
"signingKeyId": "acme-gs1-2026-01",
"scannedCount": 1312,
"createdBy": { "id": "12", "name": "Priya Nair", "email": "priya@example.com" },
"createdAt": "2026-11-02T09:14:00+00:00",
"updatedAt": "2026-11-03T11:40:00+00:00",
"symbology": "gs1_datamatrix",
"signingKeyAlgorithm": "HMAC-SHA256 · 32-bit tag",
"signedAt": "2026-11-02T09:15:00+00:00",
"signedBy": { "id": "12", "name": "Priya Nair", "email": "priya@example.com" },
"printedAt": "2026-11-03T11:40:00+00:00",
"goodCount": 4988,
"voidedCount": 12,
"counterfeitScans": 3,
"canSendToPrinter": false,
"downloads": [
{ "kind": "printer_job", "label": "Printer job", "format": "ZPL", "sizeBytes": 1450000 },
{ "kind": "serial_csv", "label": "Serial list", "format": "CSV", "sizeBytes": 160000 },
{ "kind": "proof_pdf", "label": "Proof sheet", "format": "PDF", "sizeBytes": 90000 }
],
"scannerPhones": 41
}