---
title: "Retrieve labels of a shipment"
method: GET
path: "/shipments/{id}/labels"
tags: ["Labels"]
---

# Retrieve labels of a shipment

`GET /shipments/{id}/labels`

Returns labels for a specific shipment. Labels are delivered as Base64-encoded data.

For PNG format, each label has its own object. For all others, the labels are 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.

## Path parameters

- `id` integer, required

## Query parameters

- `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.

- 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)
