---
title: "Get Bag Tag Label"
method: GET
path: "/dpi/shipping/v1/bulk/label"
tags: ["Bulk Orders"]
---

# Get Bag Tag Label

`GET /dpi/shipping/v1/bulk/label`

## Request

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

For a given bag get the label of the bag tag, sentt as a bytestream response.

## Query parameters

- `bagIds` 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 bag tag label.

## Other responses

- `403`: User 'xxx' has no permission.
- `404`: No item found for the given bag tag, or bag tag not printable.
- `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)
