DHL

DHL OAuth API

The OAuth API from DHL — 1 operation(s) for oauth.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /dsc-mysctt/oauth/token Get an authentication token · Get an authentication token #
Ask an LLM
“How do I get an access token for the DHL Track & Trace API?”
“What grant type and credentials does the token endpoint expect?”
Tell an agent
Get an authentication token for user {username} with grant type {grant_type}.
Request a new token for {username} using {grant_type} and password {password}.

Documentation

📖
Documentation
https://developer.dhl.com/tracking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-unified-push
📖
Documentation
https://developer.dhl.com/api-reference/additional-services-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/datafactory-autocomplete-20-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-hybrid-mail-shipments-e-post-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-international-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-internetmarke-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-targeting-post-parcel-germany
📖
Documentation
https://developer.dhl.com/parcel-connect
📖
Documentation
https://developer.dhl.com/api-reference/econnect-beta-dhl-ecommerce-europe
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-pickup-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-postnumber-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-private-shipping-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-returns-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/parcel-de-shipping-post-parcel-germany-v2
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-shipment-tracking-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-document
📖
Documentation
https://developer.dhl.com/api-reference/duty-tax-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/ecommerce-uk
📖
Documentation
https://developer.dhl.com/api-reference/parcel-eu
📖
Documentation
https://developer.dhl.com/api-reference/pickup-cancellation-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/price-quote-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/print-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-and-sub-product-pickup-detail-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/product-finder-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/products-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-push-api
📖
Documentation
https://developer.dhl.com/api-reference/registration-pickup-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/return-label-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/shipment-booking-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-booking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-label-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-status
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-v2-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/time-table-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/tracking-dhl-ecommerce-americas

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dhl:dhl-oauth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dhl-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl OAuth API
  version: 1.3.0
  description: 'Operations tagged OAuth across 2 of this provider''s published API definitions: dhl-track-and-trace-supply-chain-openapi.yml, dhl-track-and-trace-supply-chain-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-sandbox.dhl.com
  description: For Orders Only
- url: https://api-uat.dhl.com
  description: Retrieving POD
tags:
- name: OAuth
paths:
  /dsc-mysctt/oauth/token:
    post:
      tags:
      - OAuth
      summary: Get an authentication token
      description: '**Host: api-uat.dhl.com**


        Gets an authentication token.


        The endpoint is protected with the basic authentication. The request must contain an `Authorization`

        header for basic authentication with REST API client credentials. Please note that client credentials

        are not the same as the user credentials. Client means an application that uses the REST API.

        User credentials must be passed in the request body. The request format must be `application/x-www-form-urlencoded`.'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              required:
              - grant_type
              - password
              - username
              properties:
                grant_type:
                  type: string
                  description: OAuth grant type.
                  default: password
                username:
                  type: string
                  description: User login
                password:
                  type: string
                  description: User password
        required: true
      responses:
        200:
          description: Successfully authenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Token'
        400:
          description: Authentication failed, e.g. because of invalid username or password
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OauthError'
        401:
          description: Basic authentcation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OauthError'
      security:
      - basicAuth: []
      operationId: postDscMyscttOauthToken
      x-operation-id-source: derived
    servers:
    - url: https://api-sandbox.dhl.com
      description: For Orders Only
    - url: https://api-uat.dhl.com
      description: Retrieving POD
components:
  schemas:
    OauthError:
      type: object
      properties:
        error:
          type: string
          description: Error message
        error_description:
          type: string
          description: Detailed error description
    Token:
      type: object
      properties:
        access_token:
          type: string
          example: 37423749-1690-40b0-8221-e0729bb148f1
        token_type:
          type: string
          example: bearer
        refresh_token:
          type: string
          example: ff539b26-617f-484d-ba66-0602fd3a642b
        expires_in:
          type: string
          example: '25699'
        scope:
          type: string
          example: all
  securitySchemes:
    basicAuth:
      type: http
      description: HTTP Basic Authentication. Works over `HTTPS`
      scheme: basic
    bearerAuth:
      type: apiKey
      description: Enter the token with the "Bearer" prefix, e.g. `Bearer <Generated-Token>`.
      name: Authorization
      in: header
x-refined-from:
- dhl-track-and-trace-supply-chain-openapi.yml
- dhl-track-and-trace-supply-chain-openapi.yml