DHL

DHL DIALOGPOST contracts API

Create, update or get your DIALOGPOST contracts.You need an access token with ROLE_DIS_ACCESS to access this resource.

GitHub OpenAPI

Operations 5

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

GET /dispatchpreparation/v1/dialogpost/contracts/{id} Get a Dialogpost contract · Get a specific contract #
Ask an LLM
“What induction and payment details does a Dialogpost contract hold?”
“Can I look up one Dialogpost contract by its ID?”
Tell an agent
Get Dialogpost contract {id} for customer {customerId}.
Show the induction type and payment method on contract {id}.
PUT /dispatchpreparation/v1/dialogpost/contracts/{id} Update a Dialogpost contract · Update an existing contract based on information you negotiated with your DV… #
Ask an LLM
“Can I change the originator or submitter on a Dialogpost contract?”
“Which contract fields can I update after creating it?”
Tell an agent
Update Dialogpost contract {id} for customer {customerId} with originator {originatorEkp}, submitter {submitterEkp} and induction {induction}.
Set entitled to deduct pre-tax to {entitledToDeductPreTax} on contract {id}.
DELETE /dispatchpreparation/v1/dialogpost/contracts/{id} Delete a Dialogpost contract · Delete a contract #
Ask an LLM
“How do I remove a Dialogpost contract I no longer use?”
“Can I delete a Dialogpost contract by its ID?”
Tell an agent destructive · confirm first
Delete Dialogpost contract {id} for customer {customerId}.
Remove contract {id}.
GET /dispatchpreparation/v1/dialogpost/contracts List Dialogpost contracts · Get all contracts #
Ask an LLM
“Which Dialogpost contracts exist for my customer?”
“Can I find a Dialogpost contract by its owner EKP?”
Tell an agent
List Dialogpost contracts for customer {customerId}.
Find Dialogpost contracts named {name} owned by {ownerekp}.
POST /dispatchpreparation/v1/dialogpost/contracts Create a Dialogpost contract · Add a new contract based on information you negotiated with your DV franking… #
Ask an LLM
“How do I set up a new Dialogpost contract for franking?”
“What procedure and subscription numbers does a new Dialogpost contract need?”
Tell an agent
Create Dialogpost contract {name} for customer {customerId} with procedure {procedureNumber}, subscription {subscriptionNumber}, originator {originatorEkp}, submitter {submitterEkp} and induction {induction}.
Add a Dialogpost contract {name} with induction type {inductionType}.

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

Schemas & Data

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-dialogpost-contracts-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-dialogpost-contracts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl DIALOGPOST contracts API
  version: 26.11.02-291-a8c40f4a7af2fabbbe5278c6fafbd2076d62a39b
  contact:
    url: https://developer.dhl.com/api-reference/print-mailing-dispatch-preparation-api
    email: it-csp@deutschepost.de
  description: 'Operations tagged DIALOGPOST contracts across 2 of this provider''s published API definitions: dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml, dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-eu.dhl.com/post/advertising/print-mailing
  description: Production environment
- url: https://api-uat.dhl.com/post/advertising/print-mailing
  description: Test environment
tags:
- name: DIALOGPOST contracts
  description: Create, update or get your DIALOGPOST contracts.You need an access token with ROLE_DIS_ACCESS to access this resource.
paths:
  /dispatchpreparation/v1/dialogpost/contracts/{id}:
    get:
      tags:
      - DIALOGPOST contracts
      summary: Get a specific contract
      operationId: getContract
      parameters:
      - name: id
        in: path
        description: The identifier of the contract.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Contract found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpContractRep'
        '403':
          description: Access forbidden because of missing authority for resource.
    put:
      tags:
      - DIALOGPOST contracts
      summary: Update an existing contract based on information you negotiated with your DV…
      operationId: updateContract
      parameters:
      - name: id
        in: path
        description: The identifier of the contract. See lookup resource 'DisContractType' for available values.
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrUpdateDpContractRep'
        required: true
      responses:
        '200':
          description: Contract successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpContractRep'
        '403':
          description: Access forbidden because of missing authority for resource.
        '422':
          description: ' DM_DIS_2003: Input data validation failed. Please notice the concrete error description in the error response. DM_DIS_2007: Wrong combination of procedure number and payment information. DM_DIS_2008: Wrong combination of inductionType and induction information. DM_DIS_2036: Cannot update contract. E.g. change of contract type is not valid. DM_DIS_2038: If the procedure is not supported for the contract type.'
    delete:
      tags:
      - DIALOGPOST contracts
      summary: Delete a contract
      operationId: deleteContract
      parameters:
      - name: id
        in: path
        description: The identifier of the contract.
        required: true
        schema:
          type: integer
          format: int64
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Contract successfully deleted.
          content:
            application/json:
              schema:
                type: object
        '403':
          description: Access forbidden because of missing authority for resource.
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
  /dispatchpreparation/v1/dialogpost/contracts:
    get:
      tags:
      - DIALOGPOST contracts
      summary: Get all contracts
      description: Contracts are necessary for it franking. They contain information about induction and payment.
      operationId: getContracts
      parameters:
      - name: customerId
        in: query
        description: ID of the customer.
        required: true
        schema:
          type: integer
          format: int64
      - name: ownerekp
        in: query
        description: Owner ekp of the contract.
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: Partial or full name of the contract.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Contracts found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionRepDpContractRep'
        '403':
          description: Access forbidden because of missing authority for resource.
    post:
      tags:
      - DIALOGPOST contracts
      summary: Add a new contract based on information you negotiated with your DV franking…
      operationId: createContract
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrUpdateDpContractRep'
        required: true
      responses:
        '201':
          description: Contract successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DpContractRep'
        '403':
          description: Access forbidden because of missing authority for resource.
        '422':
          description: 'DM_DIS_2005: A contract for the supplied ekp, procedure and subscription already exists. DM_DIS_2003: Input data validation failed. Please notice the concrete error description in the error response. DM_DIS_2007: Wrong combination of procedure number and payment information. DM_DIS_2008: Wrong combination of inductionType and induction information. DM_DIS_2036: Cannot update contract. E.g. change of contract type is not valid. DM_DIS_2038: If the procedure is not supported for the contract type.'
    servers:
    - url: https://api-eu.dhl.com/post/advertising/print-mailing
      description: Production environment
    - url: https://api-uat.dhl.com/post/advertising/print-mailing
      description: Test environment
components:
  schemas:
    DpContractPaymentParametersRep:
      type: object
      properties:
        cardEkp:
          type: string
          description: Post customer number (EKP, 10 characters) of postcard's owner. Should always be specified.
          example: '0000000001'
        cardNo:
          type: string
          description: Post card number (4 to 7 characters) that is a supplement to the EKP.
          example: 2502001
          minLength: 1
          pattern: \d{2}[\dA-Za-z]{2}(?:\d{3})?
      required:
      - cardNo
    PageMetadata:
      type: object
      properties:
        size:
          type: integer
          format: int64
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int64
        number:
          type: integer
          format: int64
    InductionBaseRep:
      type: object
      properties:
        depotName:
          type: string
          description: Name of the Deutsche Post depot. Use a location of type 'ELN-Depot' for your pick-up induction or a location of type 'LARGE_RECEIVING_POINT' for post-to-depot induction. See 'depotlookups' resource for available values.
          example: Bautzen
          maxLength: 50
          minLength: 0
        pickUpLocationStreet:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Street without house number.'
          example: Musterstrasse
          maxLength: 50
          minLength: 0
        pickUpLocationHouseNumber:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: House number.'
          example: 12
          maxLength: 20
          minLength: 0
        pickUpLocationZip:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Zip code.'
          example: 12345
          maxLength: 10
          minLength: 0
        pickUpLocationCity:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: City.'
          example: Musterstadt
          maxLength: 50
          minLength: 0
        pickUpLocationCountry:
          type: string
          description: 'Relevant only if you chose InductionType=1, pick-up location: Country (ISO 3166-1 alpha-2: 2 letters).'
          example: DE
          maxLength: 2
          minLength: 2
    CollectionRepDpContractRep:
      type: object
      properties:
        elements:
          type: array
          items:
            $ref: '#/components/schemas/DpContractRep'
        page:
          $ref: '#/components/schemas/PageMetadata'
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
    DpContractRep:
      type: object
      properties:
        contractType:
          type: integer
          format: int32
          default: 1
          description: The type of the contract.
          example: 1
        ownerEkp:
          type: string
          description: Identifies the contract owner. The first 10 digits of the contract number.This ekp has to be added to your addresses prior to contract creation.
          example: '0000000001'
          minLength: 1
        procedureNumber:
          type: string
          description: This two-digit number ('Verfahren') is a part of your contract with Deutsche Post. Currently ONLY procedures 10 and 25 are supported.
          example: 25
          maxLength: 2
          minLength: 2
          pattern: 10|25
        subscriptionNumber:
          type: string
          description: This two-digit number ('Teilnahme') is a part of your contract with Deutsche Post.
          example: '01'
          maxLength: 2
          minLength: 2
          pattern: 0[1-9]|[1-9][0-9]|[A-F][A-Z]
        name:
          type: string
          description: A human readable name for this contract.
          example: My it franking contract
          maxLength: 255
          minLength: 0
        originatorEkp:
          type: string
          description: Identifies the originator. This is the one who is the sender. This ekp has to be added to your addresses prior to contract creation. You may change this value in a concrete processing.
          example: '0000000002'
          minLength: 1
        submitterEkp:
          type: string
          description: Identifies the submitter. This is the one who conducts the induction. This ekp has to be added to your addresses prior to contract creation. You may change this value in a concrete processing.
          example: '0000000003'
          minLength: 1
        entitledToDeductPreTax:
          type: boolean
          description: Specifies whether the originator of this mailing is entitled to deduct pre-tax. If he is, net costs will be minimized.
          example: true
        payment:
          $ref: '#/components/schemas/DpContractPaymentParametersRep'
          description: Specifies payment parameters for a procedure 25 contract. Not needed for other procedures (set to null in this case). not needed for contract type LETTER.
        inductionType:
          type: integer
          format: int32
          description: Specifies whether mailings should be picked-up from an address or are transported to a Deutsche Post depot. See lookup resource 'InductionType' for available values. Only depot induction is valid for contract type LETTER.
          example: 2
        induction:
          $ref: '#/components/schemas/InductionBaseRep'
          description: Specifies induction parameters.
        id:
          type: integer
          format: int64
          description: The identifier of the contract.
      required:
      - entitledToDeductPreTax
      - induction
      - inductionType
      - name
      - originatorEkp
      - ownerEkp
      - procedureNumber
      - submitterEkp
      - subscriptionNumber
    CreateOrUpdateDpContractRep:
      type: object
      description: Representation of a contract for creating.
      properties:
        contractType:
          type: integer
          format: int32
          default: 1
          description: The type of the contract.
          example: 1
        ownerEkp:
          type: string
          description: Identifies the contract owner. The first 10 digits of the contract number.This ekp has to be added to your addresses prior to contract creation.
          example: '0000000001'
          minLength: 1
        procedureNumber:
          type: string
          description: This two-digit number ('Verfahren') is a part of your contract with Deutsche Post. Currently ONLY procedures 10 and 25 are supported.
          example: 25
          maxLength: 2
          minLength: 2
          pattern: 10|25
        subscriptionNumber:
          type: string
          description: This two-digit number ('Teilnahme') is a part of your contract with Deutsche Post.
          example: '01'
          maxLength: 2
          minLength: 2
          pattern: 0[1-9]|[1-9][0-9]|[A-F][A-Z]
        name:
          type: string
          description: A human readable name for this contract.
          example: My it franking contract
          maxLength: 255
          minLength: 0
        originatorEkp:
          type: string
          description: Identifies the originator. This is the one who is the sender. This ekp has to be added to your addresses prior to contract creation. You may change this value in a concrete processing.
          example: '0000000002'
          minLength: 1
        submitterEkp:
          type: string
          description: Identifies the submitter. This is the one who conducts the induction. This ekp has to be added to your addresses prior to contract creation. You may change this value in a concrete processing.
          example: '0000000003'
          minLength: 1
        entitledToDeductPreTax:
          type: boolean
          description: Specifies whether the originator of this mailing is entitled to deduct pre-tax. If he is, net costs will be minimized.
          example: true
        payment:
          $ref: '#/components/schemas/DpContractPaymentParametersRep'
          description: Specifies payment parameters for a procedure 25 contract. Not needed for other procedures (set to null in this case). not needed for contract type LETTER.
        inductionType:
          type: integer
          format: int32
          description: Specifies whether mailings should be picked-up from an address or are transported to a Deutsche Post depot. See lookup resource 'InductionType' for available values. Only depot induction is valid for contract type LETTER.
          example: 2
        induction:
          $ref: '#/components/schemas/InductionBaseRep'
          description: Specifies induction parameters.
        customerId:
          type: integer
          format: int64
          description: The customer id for which to act.
      required:
      - customerId
      - entitledToDeductPreTax
      - induction
      - inductionType
      - name
      - originatorEkp
      - ownerEkp
      - procedureNumber
      - submitterEkp
      - subscriptionNumber
    Link:
      type: object
      properties:
        href:
          type: string
        hreflang:
          type: string
        title:
          type: string
        type:
          type: string
        deprecation:
          type: string
        profile:
          type: string
        name:
          type: string
        templated:
          type: boolean
x-refined-from:
- dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml
- dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml