I receive an "Unauthorized" response when I make a request to Shipment Tracking - Unified API on a web browser

Created by Jhonathan Ibanez, Modified on Mon, 21 Aug, 2023 at 12:17 PM by Jhonathan Ibanez

It is not possible to use the web browser for Shipment Tracking - Unified API, because the API key needs to be passed through a query string parameter or specified in the request header. This cannot be done via web browser. However, a command line tool such as shell or an API program such as Postman can be used for this.


If you are receiving an "Unauthorized" error code when calling the Shipment Tracking - Unified API via an API platform like Postman, then there could be a series of scenarios causing this issue like:

  • The URL of the API is not well written. This is a well-written example: https://api-eu.dhl.com/track/shipments?trackingNumber=12345678 
  • The API Key parameter is not well written in the Headers. Read more about it in this article.
  • You are adding an API Key that has no rights to access the Shipment Tracking - Unified API


If your issue is not related to the previous cases, please open a ticket in our Help Center.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article