Generated by API Evangelist
Written by API Evangelist tooling for DHL's API. It is a proposal applied on top of the contract, not a document DHL publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Dhl Label API
version: 1.0.0
extends: openapi/dhl-label-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/shipping/v4/label'].post
update:
x-apievangelist-phrasing:
intent: Create a domestic or international shipping label
effect: write
questions:
- How do I generate a new shipping label for a domestic US package?
- Can I create an international shipping label in PNG, PDF or ZPL format?
- Which label formats can I choose when creating a new shipping label?
instructions:
- text: Create a new shipping label in {format} format.
slots:
format: query.format
- text: Generate a new {format} shipping label using the client name {userAgent}.
slots:
format: query.format
userAgent: header.User-Agent
- text: Create a brand new international shipping label as a {format} file.
slots:
format: query.format
method: generated
generated: '2026-11-16'
- target: $.paths['/shipping/v4/label/{pickup}'].get
update:
x-apievangelist-phrasing:
intent: Retrieve an existing shipping label
effect: read
questions:
- How do I reprint a label that was generated recently?
- Can I fetch an existing label by package ID?
instructions:
- text: Get existing label {dhlPackageId} for pickup account {pickup}.
slots:
dhlPackageId: query.dhlPackageId
pickup: path.pickup
- text: Reprint label {packageId} from {pickup}.
slots:
packageId: query.packageId
pickup: path.pickup
method: generated
generated: '2026-11-16'
- target: $.paths['/shipping/v4/label/{pickup}'].delete
update:
x-apievangelist-phrasing:
intent: Void an existing label
effect: destructive
questions:
- How do I void a label I shipped by mistake?
- Can I void an international label?
instructions:
- text: Void label {packageId} for pickup {pickup}.
slots:
packageId: query.packageId
pickup: path.pickup
- text: Cancel the existing label {packageId} on account {pickup}.
slots:
packageId: query.packageId
pickup: path.pickup
method: generated
generated: '2026-11-16'
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.