---
title: "Get Item Label"
method: GET
path: "/dpi/shipping/v1/items/{itemId}/label"
tags: ["Items"]
---

# Get Item Label

`GET /dpi/shipping/v1/items/{itemId}/label`

## Request

- Base URL: `https://api-sandbox.dhl.com`
- URL: `https://api-sandbox.dhl.com/dpi/shipping/v1/items/{itemId}/label`
- Auth: none declared. Required headers: `Authorization`, `accept`

For a given item a label is generated or retrieved from the cache and send to the requestor as a bytestream response.

## Path parameters

- `itemId` string, required

## Headers

- `Authorization` string, required
- `accept` 'application/pdf' | 'application/pdf+singlepage' | 'application/pdf+singlepage+6x4' | 'application/zpl' | 'application/zpl+6x4' | 'application/zpl+rotated' | 'application/zpl+rotated+6x4' | 'image/png' | 'image/png+6x4', required

## Response `200`

Bytestream (File) containing the item label.

- string, byte

## Other responses

- `404`: No item found for the given item id.
- `500`: Internal error.

---

[API](https://skmtc.dev/dhl/apis/deutsche-post-international-shipping-api.md) - [All operations](https://skmtc.dev/dhl/apis/deutsche-post-international-shipping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dhl/apis/deutsche-post-international-shipping-api/revisions/33ba987e477f?raw)
