DHL

DHL Send cEvent API

The Send cEvent API from DHL — 1 operation(s) for send cevent.

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 /ccc/send-cevent Send a shipment event · Send cEvent data #
Ask an LLM
“Can I send an event for a shipment that already has a cPAN?”
“Where does cEvent data go once I send it?”
Tell an agent
Send cEvent data {dataElement}.
Record a shipment event with {dataElement}.

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-send-cevent-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-send-cevent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl Send cEvent API
  version: 1.1.56
  description: 'Operations tagged Send cEvent across 2 of this provider''s published API definitions: dhl-ecommerce-europe-openapi.yml, dhl-ecommerce-europe-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-sandbox.dhl.com
tags:
- name: Send cEvent
paths:
  /ccc/send-cevent:
    post:
      security:
      - OAuth2: []
      summary: Send cEvent data
      description: 'Purpose of this service is to send event data (cEvent) for shipments, that already have been created via the send cPAN request. Customers can provide event activities that take place as pre- or post- processing of DHL activities. This event data will be relayed to respective DHL eCommerce network partners and also end recipients (e.g., via Track & Trace information). Access restricted please contact DHL representative.


        **System Response Codes**


        The System Response Codes are provided in the *status* filed of the response.


        |HTTP Code|Status Code|Description|

        |---|---|--------|

        |200|200|cEvent processed|

        |200|603|Request validation errors|

        |401||Unauthorized|

        |429||Too many requests, try again later|

        |500||Internal Server error, contact support|'
      parameters: []
      requestBody:
        description: cEvent details defined in JSON schema.
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cEventRequest'
            examples:
              cEvent:
                $ref: '#/components/examples/cEvent'
              cEventallInfo:
                $ref: '#/components/examples/cEvent_allInfo'
      tags:
      - Send cEvent
      responses:
        '200':
          $ref: '#/components/responses/200_cEvent'
        '401':
          $ref: '#/components/responses/401_Unauthorized'
        '429':
          $ref: '#/components/responses/429_TooManyRequests'
        '500':
          $ref: '#/components/responses/500_InternalServerError'
        '503':
          $ref: '#/components/responses/503_ServiceUnavailable'
      operationId: postCccSendCevent
      x-operation-id-source: derived
    servers:
    - url: https://api-sandbox.dhl.com
components:
  examples:
    cEvent:
      summary: cEvents
      value:
        dataElement:
          version: '0200'
        general:
          timestamp: '2026-01-01T12:00:00Z'
          parcelIdentifier: 1SendCPAN01003202109000001
        cEvent:
          eventType: HandoverFromCustomer
          eventTime: '2021-03-04T10:30:28Z'
          eventLocation: Salzburg
          eventCountry: AT
          eventCapturedBy: SomeCarrier
          comment: optional comment on event; will be stored but not evaluated
    603_cEventERROR:
      summary: ERROR
      value:
        error:
          status: '603'
          timestamp: '2026-01-01T12:00:00'
          customerId: '5012345678'
          sessionId: 69813cea-d222-47ea-aede-7867485ddf5c
          statusCode: ERROR
          statusMessage: 'Configuration not found for customerId: (5012345678).'
    200_cEvent:
      summary: OK
      value:
        response:
          status: '200'
          timestamp: '2026-01-01T12:00:00'
          sessionId: 752328d4-2630-4a48-ac2b-a03b21b4de10
          statusCode: OK
          statusMessage: cEvent has been processed successfully
    cEvent_allInfo:
      summary: cEvents with all Information
      value:
        dataElement:
          version: '0200'
          parcelOriginOrganization: AT
          parcelDestinationOrganization: FR
        general:
          parcelIdentifier: 1SendCPAN01003202109000001
          timestamp: '2026-01-01T12:00:00Z'
          product: ParcelEurope.parcelconnect
          customerIdentification: '5012345678'
        cEvent:
          eventType: HandoverFromCustomer
          eventTime: '2021-03-04T10:30:28Z'
          eventLocation: Salzburg
          eventCountry: AT
          eventCapturedBy: SomeCarrier
          comment: optional comment on event; will be stored but not evaluated
  responses:
    429_TooManyRequests:
      description: Too many requests in a short time.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemSchema'
          example:
            status: 429
            title: Too Many Requests
            detail: Too many requests within defined time period,please try again later.
    500_InternalServerError:
      description: Internal Server Error
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemSchema'
          example:
            status: 500
            title: Internal Server Error
            detail: The server encountered an unexpected condition that prevented it from fulfilling the request.
    401_Unauthorized:
      description: Unauthorized. Provided key or token is invalid for requested resource.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemSchema'
          example:
            status: 401
            title: Unauthorized
            detail: Unauthorized for given resource.
    200_cEvent:
      description: The response will be 200 when eEvent processed successfully (statusCode = "OK") or  cEvent processing failed due to input data quality like incorrect Customer Identification (statusCode = "ERROR").
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/200_cEvent'
          examples:
            cPAN_OK:
              $ref: '#/components/examples/200_cEvent'
            cPAN_ERROR:
              $ref: '#/components/examples/603_cEventERROR'
    503_ServiceUnavailable:
      description: Service Unavailable
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemSchema'
          example:
            reasons:
            - msg: Service Unavailable
            details:
              msgId: Id-836a775dc794c71b0b5fd41c
  schemas:
    cEventRequest:
      type: object
      properties:
        dataElement:
          type: object
          description: Container for the request data
          properties:
            version:
              type: string
              description: Version of the data message
            parcelOriginOrganization:
              type: string
              description: This field indicates the origin country of the parcel. ISO-3166 two-letter country code (capital lettters); format:- capital letters.
              example: AT
              maxLength: 2
            parcelDestinationOrganization:
              type: string
              description: This indicates which country is the recipient of the parcel. ISO-3166 two-letter country code(capital lettters); format:- capital letters.
              example: FR
              maxLength: 2
            general:
              type: object
              description: Container for the general data of request.
              properties:
                parcelIdentifier:
                  type: string
                  description: This describes the identifier that is used for parcel tracking.Example of parcelIdentifier of type ASC MH10:- JJD0000000000000001
                  example: Example of parcelIdentifier of type ASC MH10:- JJD0000000000000001
                timestamp:
                  type: string
                  description: Timestamp at which the request data is passed to DHL eCS Europe API. format:- YYYY-MM-DDThh:mm:ssZ (or) YYYY-MM-DDThh:mm:ss+hh:mm (or) YYYY-MM-DDThh:mm:ss-hh:mm
                  example: Example of expressing the same time in the different formats:- 2022-07-01T13:05:05Z 2022-07-01T15:05:05+02:00 2022-07-01T11:05:05-02:00
                product:
                  type: string
                  description: This is the product of the parcel. Please use:- ParcelEurope.parcelconnect for product DHL Parcel Connect, ParcelEurope.parcelInternational for product DHL Parcel International.
                customerIdentification:
                  type: string
                  description: Individual customer ID of sender. Will be provided to customers during onboarding process.
              required:
              - parcelIdentifier
              - timestamp
            cEvent:
              type: object
              description: Container for the general data of request.
              properties:
                eventType:
                  type: string
                  description: Classification of the activity executed in the event.  values:- DeliveredBusinessSender, Presorted3rdParty, PresentedExportCustoms, HandoverToTransport, PresentedImportCustoms, ReturnHubHandling, ReturnHubOutbound, HandoverFromCustomer.
                  example: DeliveredBusinessSender
                eventTime:
                  type: string
                  description: Timestamp of the transmitted event. format:- YYYY-MM-DDThh:mm:ssZ (or) YYYY-MM-DDThh:mm:ss+hh:mm (or) YYYY-MM-DDThh:mm:ss-hh:mm
                  example: 2022-07-01 13:05:05+00:00
                eventLocation:
                  type: string
                  description: This indicates which city the event is taking place.
                  example: Salzburg
                eventCountry:
                  type: string
                  description: This indicates which country the event is taking place. ISO-3166 two-letter country code.
                  example: AT
                eventCapturedBy:
                  description: This indicates who created the event.
                  example: SomeCarrier
                comment:
                  description: optional comment on event; will be stored but not evaluated.
              required:
              - eventType
              - eventTime
              - eventLocation
              - eventCountry
          required:
          - version
          - general
          - cEvent
      required:
      - dataElement
    200_cEvent:
      required:
      - response
      properties:
        response:
          required:
          - status
          - timestamp
          - customerId
          - sessionId
          - statusCode
          - statusMessage
          properties:
            status:
              type: string
              example: '200'
            timestamp:
              type: string
              example: '2023-01-20T09:38:21'
            customerId:
              type: string
              example: '5012345678'
            sessionId:
              type: string
              example: 752328d4-2630-4a48-ac2b-a03b21b4de10
            statusCode:
              type: string
              example: OK or ERROR
            statusMessage:
              type: string
              example: 'cEvent has been processed successfully " or "Configuration not found for customerId: ''5012345678''. If you are a customer, please enter your valid DHL customerID. If you are an integrator, please enter the DHL ID of your customer into this field." '
          type: object
    ProblemSchema:
      type: object
      properties:
        status:
          type: integer
          format: int32
        title:
          type: string
        detail:
          type: string
  securitySchemes:
    OAuth2:
      type: oauth2
      description: This API uses OAuth 2 with the client-credentials grant flow
      flows:
        clientCredentials:
          tokenUrl: https://api-sandbox.dhl.com/ccc/v1/auth/accesstoken
          scopes: {}
x-refined-from:
- dhl-ecommerce-europe-openapi.yml
- dhl-ecommerce-europe-openapi.yml