HowAutomate
    All articles

    How to Get Blue Dart API Keys Yourself in 2026 (developer.dhl.com, Step by Step)

    Blue Dart API keys are self-service now. The exact steps on developer.dhl.com, which product to add, how the 24-hour token works, and the gotchas we hit going live.

    How to Get Blue Dart API Keys Yourself in 2026 (developer.dhl.com, Step by Step)

    If you have been emailing your Blue Dart branch for weeks asking for API access, here is the answer we got from Blue Dart's own IT team in November 2026: the keys are self-service. Blue Dart is part of DHL, and its API gateway is managed on DHL's developer portal. You register, create an app, and the keys appear in your profile. No sales call, no waiting for someone to email them.

    What you need before you start

    Your Blue Dart customer login ID and the licence key Blue Dart gave you for shipping (the same details your shipping software or Unicommerce uses). The new account should be in the business's name and mailbox, not a freelancer's, because whoever owns the mailbox owns the keys.

    Step 1: register on developer.dhl.com

    Sign up with the business email and verify it from the mail DHL sends. In our case the first password did not work, and the fix was to use Forgot Password once to set it properly. Keep that password with the business owner; it does not need to be on any server.

    Step 2: create an app and add the Blue Dart product

    In your profile, choose Create App, give it a clear name (for example 'Order Automation'), and add the Blue Dart APIs product. That product covers Authentication, Tracking, the Alt-Instruction API (re-attempts, landmarks, alternate phone numbers) and the other Blue Dart services. Approval for ours came within the hour.

    Step 3: copy the ClientID and secret

    Show Key on the app gives two values. Store them like a password: in a protected file or secret store on the server that runs your automation, never in a Google Sheet, a chat, or the code repository.

    How the calls work

    First call the Authentication API with the ClientID and secret. It returns a JWT token that stays valid for 24 hours; every other call sends that token in a header. Most calls also carry a 'profile' block with your Blue Dart login ID and licence key, which is how Blue Dart knows the waybill belongs to you. A waybill from another account comes back with 'not generated by this License Key'.

    The Alt-Instruction API is the useful one

    This is what lets software do what your team does on the phone: ask for a re-attempt on a chosen date, add a landmark, or give the courier an alternate mobile number for a parcel that failed delivery. Each request is one waybill and one instruction type.

    Gotchas we hit going live

    First, test on the sandbox, which worked with the same keys. Second, send only the fields the instruction type needs; extra empty fields earned us an HTTP 500 instead of a clear error. Third, landmarks are short, about 30 characters, so trim filler words. Fourth, and most important: the API happily answers 'Update Successful' for a parcel that was already delivered. Always check the live tracking status right before sending an instruction, or your reports will say 're-attempt booked' for a parcel the customer already has.

    What it replaced for us

    For one apparel brand we run daily automation for, failed Blue Dart deliveries used to mean an email to the branch for every parcel. Now the re-attempt or address correction goes in by API the same day, and the only emails left are for the rare cases Blue Dart refuses. If you want the same set up for your store, that is part of our marketplace order automation.

    Frequently asked questions

    Are Blue Dart API keys free?

    Registering on developer.dhl.com and creating the app costs nothing. You need an existing Blue Dart customer account (login ID and licence key); normal shipping charges apply as per your contract.

    How long is the Blue Dart API token valid?

    The JWT from the Authentication API is valid for 24 hours. Request a new one daily, or when a call says the token has expired.

    Can the API book a re-attempt for a failed delivery?

    Yes. The Alt-Instruction API accepts a re-attempt with a preferred date, a landmark, or an alternate mobile number, one waybill per request. Check the live status first, because it also accepts instructions for already-delivered parcels.

    Get weekly automation tipsReal scripts, workflows and AI tips, straight to your inbox.

    Keep reading

    Want us to set this up for you?

    Chat with us