Get started
Prerequisites
DHL Customer Number:
Most APIs require a DHL customer number. Your company must be registered with an organisation number.
API Key:
You’ll receive an API key after registering your organisation and application in API Farm. API keys are GUIDs and must be included in the request header of each API call.
Registration Steps
For Development & Testing
- Go to API Farm test environment: test-admin.freight-logistics.dhl.com
- Click Sign up and fill in your user details.
- Confirm your registration via the email from apifarm@dhl.com
- Log in to API Farm
- Go to Organisations -> click Create new organisation
- Enter your company details and create the organisation.
- Go to Applications -> click Register new application
- Enter application details and click Register to save.
Your API key (client-key) will be shown on the screen only once – save it securely!
Once testing is complete and successful, proceed to the production environment.
For Production
- Go to the production environment: admin.freight-logistics.dhl.com
- Sign up and repeat the steps to create your Organisation and Application to retrieve an production API-key.
- Submit an Implementation Request.
- DHL Freight will review your test data and activate your production API-key. At least one validated test request per API is required.
Important: Production APIs create real shipment data. Approval is mandatory before use.
Base URLs:
Sandbox: https://test-api.freight-logistics.dhl.com…
Production: https://api.freight-logistics.dhl.com…
Additional Notes
Product Rules:
Understand DHL Freight’s product rules and limitations.
Cancellations:
You cannot cancel transports via API or EDI. Cancel in your system and contact DHL Customer Service at 0771-345 345 with your booking/shipment number.
High Volumes:
For more than 10,000 shipments/day, traditional EDI may be more efficient. Contact DHL Freight to discuss.
DHL e-ID:
Required for services linked to your customer number (e.g., contract prices).
- Apply for DHL e-ID at www.dhl.com
Postman collections & examples
| Product | Download |
|---|---|
| DHL Servicepoint (103) | Download |
| DHL Servicepoint Return (104) | Download |
| DHL Parcel Connect (109) | Download |
| DHL Parcel Connect Return (107) | Download |
| DHL Stycke (211) | Download |
| DHL Home Delivery (401-501) | Download |
| DHL Hemleverans Paket (118) | Download |
Contact: se.dbl@dhl.com
Product manuals and specifications are available on the API Farm dashboard.