DHL

DHL Labels API V1 API

The Labels API V1 API from DHL — 2 operation(s) for labels api v1.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /reprintlabels/v1/labels Regenerate a shipment label · Regenerate a label #
Ask an LLM
“Can I reprint a shipment label in a different format?”
“Is it possible to rotate a label or change its DPI?”
Tell an agent
Regenerate the label for shipment {shipmentId} as {format}.
Reprint shipment {shipmentId} label in {format} with DPI {labelDPI}.
GET /reprintlabels/v1/servicepoint-dropoff-uk Regenerate a UK service point drop-off label · Regenerate a servicepoint drop off label/barcode #
Ask an LLM
“Can I reprint the barcode for a UK service point drop-off?”
“What formats can a UK service point drop-off label be regenerated in?”
Tell an agent
Regenerate the UK service point drop-off label for shipment {shipmentId} as {format}.
Reprint the UK drop-off barcode for {shipmentId} in {format} at {labelDPI} DPI.

Documentation

📖
Documentation
https://developer.dhl.com/tracking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-unified-push
📖
Documentation
https://developer.dhl.com/api-reference/additional-services-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/datafactory-autocomplete-20-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-hybrid-mail-shipments-e-post-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-international-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-internetmarke-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-targeting-post-parcel-germany
📖
Documentation
https://developer.dhl.com/parcel-connect
📖
Documentation
https://developer.dhl.com/api-reference/econnect-beta-dhl-ecommerce-europe
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-pickup-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-postnumber-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-private-shipping-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-returns-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/parcel-de-shipping-post-parcel-germany-v2
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-shipment-tracking-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-document
📖
Documentation
https://developer.dhl.com/api-reference/duty-tax-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/ecommerce-uk
📖
Documentation
https://developer.dhl.com/api-reference/parcel-eu
📖
Documentation
https://developer.dhl.com/api-reference/pickup-cancellation-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/price-quote-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/print-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-and-sub-product-pickup-detail-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/product-finder-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/products-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-push-api
📖
Documentation
https://developer.dhl.com/api-reference/registration-pickup-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/return-label-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/shipment-booking-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-booking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-label-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-status
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-v2-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/time-table-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/tracking-dhl-ecommerce-americas

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dhl:dhl-labels-api-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dhl-labels-api-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl Labels API V1 API
  version: 1.3.17
  description: 'Operations tagged Labels API V1 across 2 of this provider''s published API definitions: dhl-ecommerce-uk-openapi.json, dhl-ecommerce-uk-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-uat.dhl.com/parceluk
- url: https://api.dhl.com/parceluk
security:
- OAuth2: []
tags:
- name: Labels API V1
paths:
  /reprintlabels/v1/labels:
    get:
      tags:
      - Labels API V1
      summary: Regenerate a label
      description: Regenerate a shipment label in a number of formats
      parameters:
      - name: shipmentId
        in: query
        schema:
          type: string
        required: true
      - name: format
        in: query
        schema:
          type: string
          description: Define label format required ZPL, PDF, PNG, JPG, PNG_RAW or JPG_RAW. PNG or JPG will return a base 64 encoded zip file containing all the label images.PNG_RAW and JPG_RAW will return a base 64 encoded file(Un Zipped format ) in array containing individual label image.
          enum:
          - zpl
          - pdf
          - png
          - jpg
          - PNG_RAW
          - JPG_RAW
        required: true
      - name: pageSize
        in: query
        schema:
          type: string
          description: 'Page size for label returned. Either label6x4 for 6 by 4 inch label (default) or A4 for A6 label in corner of an A4 page. A4 pageSize is not valid for format zpl. Only domestic UK shipments will return an A4 label, 6 by 4 inch labels will be returned in all other scenarios. '
          enum:
          - label6x4
          - A4
          default: label6x4
        required: false
      - name: labelOrientation
        in: query
        description: Label orientation for label returned. Either portrait or landscape
        required: false
        schema:
          type: string
          default: portrait
          enum:
          - portrait
          - landscape
      - name: labelDPI
        in: query
        description: DPI(Dots per Inch) for label returned.
        required: false
        schema:
          type: string
          default: '203'
          enum:
          - '203'
          - '300'
      - name: includePickListLabel
        in: query
        description: Include Pick List Label should be true when Pick List Label is required.
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Label generated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/labelResponse'
        '400':
          description: 'Bad Request: <invalid syntax error message here>'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '401':
          description: 'Unauthorized: Authorization information is missing or invalid.'
          content: {}
        '404':
          description: Labels for shipmentId not found.
          content: {}
        '429':
          description: Too many requests in a short amount of time. Wait a few minutes and try again.
          content: {}
        '500':
          description: Unexpected error
          content: {}
      operationId: getReprintlabelsV1Labels
      x-operation-id-source: derived
    servers:
    - url: https://api-uat.dhl.com/parceluk
    - url: https://api.dhl.com/parceluk
  /reprintlabels/v1/servicepoint-dropoff-uk:
    get:
      tags:
      - Labels API V1
      summary: Regenerate a servicepoint drop off label/barcode
      description: Regenerate a servicepoint drop off label/barcode in a number of formats
      parameters:
      - name: shipmentId
        in: query
        schema:
          type: string
        required: true
      - name: format
        in: query
        schema:
          type: string
          description: Define label format required ZPL, PDF, PNG, JPG, PNG_RAW or JPG_RAW. PNG or JPG will return a base 64 encoded zip file containing all the label images.PNG_RAW and JPG_RAW will return a base 64 encoded file(Un Zipped format ) in array containing individual label image.
          enum:
          - zpl
          - pdf
          - png
          - jpg
          - PNG_RAW
          - JPG_RAW
        required: true
      - name: labelOrientation
        in: query
        description: Label orientation for label returned. Either portrait or landscape
        required: false
        schema:
          type: string
          default: portrait
          enum:
          - portrait
          - landscape
      - name: labelDPI
        in: query
        description: DPI(Dots per Inch) for label returned.
        required: false
        schema:
          type: string
          default: '203'
          enum:
          - '203'
          - '300'
      responses:
        '200':
          description: Label generated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/labelResponse'
        '400':
          description: 'Bad Request: <invalid syntax error message here>'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '401':
          description: 'Unauthorized: Authorization information is missing or invalid.'
          content: {}
        '404':
          description: Labels for shipmentId not found.
          content: {}
        '429':
          description: Too many requests in a short amount of time. Wait a few minutes and try again.
          content: {}
        '500':
          description: Unexpected error
          content: {}
      operationId: getReprintlabelsV1ServicepointDropoffUk
      x-operation-id-source: derived
    servers:
    - url: https://api-uat.dhl.com/parceluk
    - url: https://api.dhl.com/parceluk
components:
  schemas:
    errors:
      type: array
      description: List of errors in RFC7807 Problem Detail Format
      items:
        title: Problem Detail
        type: object
        properties:
          type:
            type: string
          title:
            type: string
          status:
            type: number
          detail:
            type: string
          instance:
            type: string
        description: Definition of [RFC7807](https://tools.ietf.org/html/rfc7807) Problem Detail for HTTP APIs
    labelResponse:
      type: object
      properties:
        shipmentId:
          type: string
          example: JJD149050550006001054190
        labels:
          type: array
          description: List of labels. If label format is PNG then all labels will be returned as one label entry in zip format encoded as Base64
          items:
            type: object
            properties:
              label:
                type: string
                description: Base64 encoded label of the requested format.
                example: Base64EncodedLabel1
  securitySchemes:
    OAuth2:
      type: oauth2
      description: This API uses OAuth 2 with the client-credentials grant flow
      flows:
        clientCredentials:
          tokenUrl: https://api-uat.dhl.com/parceluk/auth/v1/accesstoken
          scopes: {}
x-refined-from:
- dhl-ecommerce-uk-openapi.json
- dhl-ecommerce-uk-openapi.json