Shipment Tracking Unified API

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

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.

J
Jhonathan is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.