For the full API reference, see the DHL Express MyDHL API documentation.
This connector requires a connection with valid credentials before it can be used in a workflow. See Managing Connections for setup instructions.
Connection setup
1
Register on the DHL Developer Portal
Sign up at developer.dhl.com, create an app, and subscribe it to the MyDHL API. Copy the API username and API password issued for your app.
2
Add the connection in Spojit
Go to Connections in Spojit, click Add Connection, select DHL Express, and enter:
- DHL API Username: Your MyDHL API username
- DHL API Password: Your MyDHL API password
- Environment:
production(default) orsandboxfor testing
Sandbox uses a separate base URL (
/mydhlapi/test) and separate credentials. Production credentials will not work in sandbox and vice versa.Tools
Rates
get-rates: Get shipping rates
get-rates: Get shipping rates
Retrieve available DHL Express products and rates between an origin and destination.Example request:Example response:
Shipments
create-shipment: Create a shipment and label
create-shipment: Create a shipment and label
Submit a Example request:Example response:
ShipmentRequest to the MyDHL API. The payload argument is passed through unchanged as the request body.MyDHL API ShipmentRequest. Typically includes
plannedShippingDateAndTime, productCode, customerDetails (shipperDetails, receiverDetails), content (packages, isCustomsDeclarable, declaredValue, description), and accounts.track-shipment: Track a shipment by tracking number
track-shipment: Track a shipment by tracking number
Pickups
create-pickup: Schedule a pickup
create-pickup: Schedule a pickup
Advanced
raw-api-request: Make an arbitrary MyDHL API request
raw-api-request: Make an arbitrary MyDHL API request
Send a request to any MyDHL API endpoint not covered by the curated tools, for example address validation, products listing, label image retrieval, or paperless trade document upload.Example request:Example response:
Try this on the free plan
500 AI credits and 200 workflow runs a month, no card needed.