---
title: "Retrieve labels for multiple shipments"
method: GET
path: "/labels"
tags: ["Labels"]
---

# Retrieve labels for multiple shipments

`GET /labels`

Returns labels for multiple shipments.

For PNG format each label has its own object in the labels array. For all other, the labels is collected in one object.

 **Note:** Use the scaling feature at your own risk. Shipmondo can’t guarantee the scaled labels are usable. Always get the label approved by the carrier before using this feature in production.

## Query parameters

- `ids` string[], required
- `label_format` 'a4_pdf' | '10x19_pdf' | '10x19_png' | '10x19_zpl' | 'compact_png' | 'compact_pdf' | 'compact_zpl'
- `scale_by` 'height' | 'width'
- `scale_size` number
- `label_dpi` 200 | 300

## Response `200`

Successful.

- Labels[]
  - `id` integer — Shipment ID
  - `labels` Label[]
    - `base64` string — Data encoded in Base64 format
    - `file_format` 'pdf' | 'png' | 'zpl' — File format for the returned data

## Other responses

- `401` — Unauthorized.
- `404` — Resource not found.

---

[API](https://skmtc.net/shipmondo/apis/shipmondo-api.md) · [All operations](https://skmtc.net/shipmondo/apis/shipmondo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipmondo/shipmondo-api/revisions/3b9f91693dec/schema)
