Skip to content

FousmyDHLi

Turn myDHLi into an API

Read your planned and in-transit shipments, housebills, final invoices and customs declarations from myDHLi with one API call each. Or have a workflow check Track every morning and email you the shipments whose status changed overnight.

Works with your own myDHLi account. Fous is an independent product.

What you can build on myDHLi

  • Get shipments in Track

    Build this

    Reads the shipments that are planned or in transit in Track, with each one's housebill number, route, status and CO2 footprint.

    Takes
    Transport mode (optional), origin or destination (optional)
    Returns
    Housebill number, transport mode, origin, destination, status, CO2 footprint
  • Get customs declarations

    Build this

    Reads import and export declarations in myDHLi's customs data down to the line item: commodities, countries of origin, duties, taxes and key milestones.

    Takes
    Import or export, date range
    Returns
    Declaration, housebill number, line items, commodity, country of origin, duties, taxes, milestones
  • List a shipment's documents

    Build this

    Reads the documents myDHLi collects for one shipment, from quote details to the housebill and the final invoice.

    Takes
    Housebill number
    Returns
    Housebill number, document type, document name
  • Request a quote in Quote + Book

    Build this

    Fills in a Quote + Book request for Air Freight or Ocean Freight FCL or LCL and reads the offers with their price, transit time and emissions.

    Takes
    Origin, destination, transport mode, total weight, total volume
    Returns
    Offer, price, currency, transit time, CO2 emissions, quote validity

Automate myDHLi with a workflow

A workflow runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

  • Track status changes, every weekday morning

    Build this
    Starts
    Every weekday at 7:00
    Step 1
    Get the planned and in-transit shipments in Track.
    Step 2
    Keep the shipments whose status changed since the last run.
    Step 3
    Email you the list with housebill number, transport mode, origin, destination and new status.
  • Weekly duties and taxes, sent to your ERP

    Build this
    Starts
    Every Monday at 8:00
    Step 1
    Get last week's import declarations from myDHLi's customs data.
    Step 2
    Group the line items by country of origin and add up duties and taxes.
    Step 3
    Post the totals and the declarations to your ERP webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

Once built, one call from your code

Once you have built a method, it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get shipments in Track” would look like.

Example request
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "app.mydhli.com/get_tracked_shipments",
    "input": {
      "transport_mode": "Ocean"
    }
  }'
Example response
{
  "status": "completed",
  "data": {
    "shipments": [
      {
        "housebill_number": "HB7310452",
        "transport_mode": "Ocean Freight FCL",
        "origin": "Shanghai, CN",
        "destination": "Rotterdam, NL",
        "status": "In transit",
        "co2_footprint_kg": 1840.5
      }
    ],
    "count": 1
  }
}

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

MyDHLi’s own options

DHL Global Forwarding publishes a Shipment Booking API that books Air and Ocean Freight shipments, and a Timestamp Notification Push API that reports their status. You request credentials with a form, DHL's Customer IT Solutions team approves them, and booking needs an eligible DHL Global Forwarding account number. Inside myDHLi, Reports can be scheduled.

OptionWhat it coversWhat it takes
Shipment Booking APIBooks Air and Ocean Freight shipments and returns a DGF Booking ID, then the housebill number and shipment ID once the shipment is created.An eligible DHL Global Forwarding shipper or consignee account number, an OAuth2 token and credentials approved after a verification form.
Timestamp Notification Push APISends status notifications to your own API endpoint for shipments created with the Shipment Booking API.The same credentials as the Shipment Booking API.
Scheduled reportsCustomizable reports on your shipment data, with filters, scheduled so you receive them automatically.A myDHLi account.
myDHLi by handQuote + Book, Track, Documents, Analytics, Reports and customs data in the portal.A username and password issued by DHL after you sign a customer contract.

Read on November 12, 2026: Shipment Booking (DHL Global Forwarding) API, Explore myDHLi, myDHLi GoGreen customer flyer.

Signing in to myDHLi

myDHLi signs you in at DHL Global Forwarding's own sign-in page with a username and password that DHL issues after you sign a customer contract, and your company decides which people get access. With Fous you sign in once through that page with your own account: the login is sealed with AES-256, never returned by the API or written to logs, and code and AI agents never see it.

Worth knowing

Access comes with a customer contract
DHL issues myDHLi usernames and passwords after a customer contract is signed. Without an account you can still get a quote in Quote + Book, but not Track, Documents or Reports.
Quotes are not binding, bookings are
A quote in Quote + Book is a non-binding estimate. Selecting and booking a service submits a binding offer that the DHL affiliate accepts, so a method that books should run only on a quote someone has checked.
Quotes can be saved until they expire
Quote + Book lets you save a quote and resume it during its validity, adding documents, references or remarks, or share it with a colleague, customer or supplier to continue.
The housebill number comes later
Through the Shipment Booking API a booking first returns a DGF Booking ID. DHL recommends checking its status every 5 minutes; the housebill number and shipment ID arrive once the shipment is created.

More in Logistics: forwarders, air cargo and customs

Other industries: Fidelity Plan Sponsor WebStation, ONE eCommerce, NCR Power Traffic, Mercedes-Benz Supplier Portal, Honeywell MyAerospace, ZooplaPro.

Frequently asked questions

DHL Global Forwarding publishes a Shipment Booking API and a Timestamp Notification Push API on DHL's developer portal, for booking and booking status. Credentials are requested with a verification form and approved by DHL's Customer IT Solutions team, and booking needs an eligible DHL Global Forwarding account number.

Yes. Quote + Book gives instant Air Freight and Ocean Freight FCL or LCL quotes with no account needed, compared by price, transit time and emissions. Tracking, documents and reports need a myDHLi account.

Yes. Reports in myDHLi are customizable, with filters, and can be scheduled so you receive them automatically. With Fous, a workflow can also read Track or customs data on a schedule and post the result to your own system by webhook.

Import and export declarations down to the line item, including commodities, countries of origin, duties, taxes and key milestones, with dashboards on volumes, duties and taxes and clearance trends.

No. Fous is an independent product. You use it with your own myDHLi account, and a method reads and does only what that account can.

Put myDHLi behind an API call

Describe one job in Studio and see the method it builds, with 100 credits a month and no credit card, or book a demo and bring the sites your team signs in to.

Read nextmyDSVmyKNIPAFFSFidelity Plan Sponsor WebStationHow methods workHow workflows run

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of myDHLi (DHL Global Forwarding). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.