> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rendr.delivery/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rendr.delivery/_mcp/server.

# Labels

Shipping labels are a critical part of the delivery process. Each label contains carrier-specific barcodes, consignment numbers, service codes, and routing information that the carrier uses to sort, track, and deliver the parcel. Labels must be printed and affixed to the correct parcel before it is handed over to the carrier at collection.

---

## Accessing Labels

When a delivery is booked, a shipping label is generated automatically. The `label_url` field is returned directly in the [Create Delivery](/api-reference/deliveries/create-a-delivery) response, giving you immediate access to the PDF without a separate call.

```json
{
    "data": {
        "label_url": "https://static.rendr.delivery/labels/your-label.pdf"
    }
}
```

If you need to retrieve the label at a later point — for example, to reprint after the initial booking — you can call the [View Delivery Label](/api-reference/deliveries/view-delivery-label) endpoint directly using the delivery ID or reference.

Labels are only available once a delivery has been booked and a consignment number assigned. A delivery in `requested` state will not have a label.

---

## ZPL Label Support

For accounts configured by a Rendr account manager, labels can also be generated in **ZPL (Zebra Programming Language)** format. ZPL is designed for direct printing on Zebra and compatible thermal label printers, removing the PDF rendering step and making it well-suited for high-volume fulfilment environments.

When ZPL is enabled, the Create Delivery response includes a `label_zpl_url` field alongside the standard `label_url`:

```json
{
    "data": {
        "label_url": "https://static.rendr.delivery/labels/your-label.pdf",
        "label_zpl_url": "https://static.rendr.delivery/labels/your-label.zpl"
    }
}
```

You can also request a ZPL label via the [View Delivery Label](/api-reference/deliveries/view-delivery-label) endpoint using the `file_type` query parameter:

```
GET {{domain}}/{{tenant_id}}/deliveries/{{delivery_id_or_reference}}/label?file_type=zpl
```

The `file_type` parameter defaults to `pdf` if not provided.

To enable ZPL label generation for your account, contact your Rendr account manager.

---

## Dangerous Goods Declaration Documents

For deliveries containing dangerous goods, carriers may generate a **Dangerous Goods Declaration (DGD)** document in addition to the standard shipping label. Where this applies, Rendr automatically retrieves and stores the signed DGD document.

The DGD URL is returned in both the Create Delivery and Get Delivery responses under `dangerous_goods_form_url`, and can also be retrieved directly via a dedicated label endpoint.

See [Dangerous Goods](/documentation/key-concepts/how-deliveries-work/dangerous-goods) for full details on DGD handling and the retrieval endpoint.