cURL
curl --request GET \ --url https://api.ship.uniuni.com/prod/client/batch \ --header 'Authorization: Bearer <token>'
{ "message": "Success", "code": 0, "data": { "batches": [ { "batchNumber": "URB0805000000000947", "batchName": "final-test", "status": "PENDING", "printedLabel": true, "createdAt": "2025-08-05T17:31:27.157Z", "updatedAt": "2025-08-05T17:34:32.262Z", "shipmentCount": 1 } ], "pagination": { "page": 1, "pageSize": 10, "count": 25 } } }
Retrieves a paginated list of batches.
API access token generated from the UniUni Platform dashboard.
Page number.
x >= 1
Results per page.
x <= 500
If true, only returns batches that are not in pickup status.
Paginated list of batches
Additional information about the request status.
Status code. 0 indicates success.
Response payload. Returns null if code is not 0.