DHL

DHL AWBs API

The AWBs API from DHL — 1 operation(s) for awbs.

GitHub OpenAPI
Business capability
Air Waybill Management BC-2500.20

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 /dpi/shipping/v1/awbs Create a single air waybill · Create a Single AWB #
Ask an LLM
“How do I create one air waybill for a parcel shipment?”
“Can I request several copies of the AWB label?”
Tell an agent
Create AWB {product} with service level {serviceLevel} for customer {customerEkp}.
Create a single AWB for {contactName} weighing {totalWeight} kg.

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-awbs-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-awbs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl AWBs API
  version: 5.7.10
  description: 'Operations tagged AWBs across 2 of this provider''s published API definitions: dhl-deutsche-post-international-post-parcel-germany-openapi.yml, dhl-deutsche-post-international-post-parcel-germany-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-sandbox.dhl.com/
tags:
- name: AWBs
paths:
  /dpi/shipping/v1/awbs:
    post:
      deprecated: true
      operationId: createAwb
      summary: Create a Single AWB
      description: Creates a new single awb based on the given data. This request will be decommissioned. Please use /dpi/v1/bulk/{customerEkp}/mixedorders instead.
      tags:
      - AWBs
      parameters:
      - name: Authorization
        in: header
        description: Bearer Auth access_token together with the "Bearer" prefix is required. **Example** of the header value:"*Bearer 0UuA.....*"
        required: true
        schema:
          type: string
          default: Bearer [place  OAuth access_token here, without brackets]
      responses:
        '200':
          description: Bytestream (File) containing the awb label.
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/Awb'
            application/json:
              schema:
                $ref: '#/components/schemas/Awb'
        403:
          description: User 'xxx' has no permission.
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
            application/json:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
        '404':
          description: There is no customer matching the given EKP.
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
            application/json:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
        '422':
          description: Data error, please check response message for details.
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
            application/json:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
        '500':
          description: Internal error.
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
            application/json:
              schema:
                $ref: '#/components/schemas/CwsErrorDTO'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Awb'
        description: The awb that shall be created.
        required: true
    servers:
    - url: https://api-sandbox.dhl.com/
components:
  schemas:
    Awb:
      properties:
        awbCopyCount:
          description: Copies of AWB labels. One AWB per final receptacle required. Number between 1 and 99.
          example: 3
          format: int32
          maximum: 99
          minimum: 1
          type: integer
        contactName:
          description: Contact name for paperwork.
          example: John Doe
          maxLength: 40
          minLength: 1
          type: string
        customerEkp:
          description: Deutsche Post Customer Account number (EKP) of the customer who wants to create an single awb.
          example: 9012345678
          type: string
        itemFormat:
          description: The item format for this awb.
          enum:
          - P
          - G
          - E
          - MIXED
          example: P
          type: string
        jobReference:
          description: Job reference for the whole shipment.
          example: Internal ID 3/14
          maxLength: 17
          minLength: 0
          type: string
        product:
          description: 'The product that is used for the shipment of this item. Available products are: GMP [Packet Priority/Prio (goods)], GPT [Packet Tracked/Tracked], GMM [Business Mail Priority/Prio (documents)], GMR [Business Mail Registered/Plus (documents)]'
          example: GMP
          enum:
          - GMM
          - GMR
          - GMP
          - GPT
          type: string
        serviceLevel:
          description: 'The service level that is used for the shipment of this item. There are restrictions for use of service level: Registered is only available with product GMR and SalesChannel DPI'
          enum:
          - PRIORITY
          - REGISTERED
          example: PRIORITY
          type: string
        telephoneNumber:
          type: string
          example: '+491234567890'
          description: Telephone number for paperwork. Mandatory for sales channel EXPRESS.
          minLength: 0
          maxLength: 40
        totalWeight:
          description: Total weight of the awb (in kg).
          example: 5
          format: double
          type: number
      required:
      - awbCopyCount
      - contactName
      - customerEkp
      - itemFormat
      - product
      - serviceLevel
      type: object
      example:
        customerEkp: '9012345678'
        contactName: Max Mustermann
        awbCopyCount: 3
        product: GMP
        serviceLevel: PRIORITY
        itemFormat: P
        jobReference: Job ref
        totalWeight: 5
        telephoneNumber: '+4935120681234'
    CwsErrorDTO:
      type: object
      properties:
        correlationId:
          type: string
          description: The Correlation ID to track the request through all systems where it has been processed.
          example: b011a094-fade-11e7-8c3f-9a214cf093ae
        messages:
          maxItems: 2147483647
          minItems: 1
          type: array
          description: A list of messages. Any single error is described within a certain message.
          items:
            type: string
            description: A list of messages. Any single error is described within a certain message.
x-refined-from:
- dhl-deutsche-post-international-post-parcel-germany-openapi.yml
- dhl-deutsche-post-international-post-parcel-germany-openapi.yml