DHL

DHL Permalink API

The Permalink API from DHL — 2 operation(s) for permalink.

GitHub OpenAPI

Operations 2

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 /targeting/v1/permalinks Save a targeting selection as a permalink · Saves a new selection as permalink in the database #
Ask an LLM
“How do I save a postal targeting selection so I can reuse it later?”
“Can I save a selection by area codes and product as a permalink?”
Tell an agent
Save a permalink named {name} for filters {filters}.
Create a permalink for area codes {areaCodes} using {product}.
GET /targeting/v1/permalinks/{permalinkId} Look up a saved permalink · Get the persistent selection of the permalink id #
Ask an LLM
“How do I retrieve a targeting selection I saved as a permalink?”
“What filters does a permalink contain?”
Tell an agent
Get permalink {permalinkId}.
Show the persistent selection behind permalink {permalinkId}.

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-permalink-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-permalink-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl Permalink API
  version: 26.10.30-74-fe9dc15580501f34951cc8ff7f032a067ea13a58
  contact:
    name: Technical Support
    email: it-csp@deutschepost.de
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0
  description: 'Operations tagged Permalink across 2 of this provider''s published API definitions: dhl-deutsche-post-print-mailing-targeting-post-parcel-germany-openapi.yml, dhl-deutsche-post-print-mailing-targeting-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: Permalink
paths:
  /targeting/v1/permalinks:
    post:
      tags:
      - Permalink
      summary: Saves a new selection as permalink in the database
      description: Saves a new selection and returns the permalink id
      operationId: create_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelectionRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Permalink'
    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
  /targeting/v1/permalinks/{permalinkId}:
    get:
      tags:
      - Permalink
      summary: Get the persistent selection of the permalink id
      description: Get a selection from the permalink id
      operationId: get_1
      parameters:
      - name: permalinkId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/MetaSelectionSummary'
    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:
    SelectionRequest:
      type: object
      description: Request for a new Selection
      properties:
        name:
          type: string
          example: my selection
          maxLength: 50
          pattern: ^.{0,50}$
        detailLevel:
          type: string
          enum:
          - POSTAL_CODE
          example: POSTAL_CODE
        areaCodes:
          type: array
          example:
          - '48231'
          items:
            type: string
            pattern: ^[0-9]+(-[0-9]{2})?$
          uniqueItems: true
        product:
          type: string
          enum:
          - POSTAKTUELL_DAILY_MAIL
          - POSTAKTUELL_ALL
          - POSTAKTUELL_ANY_AND_ALL_HOUSEHOLDS
          - POSTWURF_SPEZIAL
          example: POSTAKTUELL_DAILY_MAIL
        filters:
          type: array
          items:
            $ref: '#/components/schemas/PotentialFilter'
        itemWeightInGram:
          type: integer
          format: int32
          example: 20
    MetaSummary:
      type: object
      description: Meta information of a selection
      properties:
        id:
          type: string
          example: f36ac95d-d412-43ad-947b-29f2e3ddb249
        customerId:
          type: string
          example: 1234
        name:
          type: string
          example: MySelection
        orderedUntil:
          type: string
          format: date
          description: If the selection is part of an active order it is locked against changes and deletion until this date. Null if the selection is not used by an order.
          example: '2023-12-24'
        locked:
          type: boolean
          description: True if the selection is currently locked because it is part of an active order. False if not locked.
          example: true
        type:
          type: string
          enum:
          - POSTAL_CODE
          - DELIVERY_DISTRICT
          - NEIGHBOURHOOD
          example: POSTAL_CODE
        productType:
          type: string
          enum:
          - POSTAKTUELL_DAILY_MAIL
          - POSTAKTUELL_ALL
          - POSTAKTUELL_ANY_AND_ALL_HOUSEHOLDS
          - POSTWURF_SPEZIAL
          example: POSTAKTUELL_DAILY_MAIL
        numberOfAreas:
          type: integer
          format: int32
          example: 2
        netQuantity:
          type: integer
          format: int32
          description: Number of households netto.
          example: 1179
        bruttoQuantity:
          type: integer
          format: int32
          description: Number of households brutto. Authority ROLE_DIS_POSTAKTUELL_ANY_AND_ALL_HOUSEHOLDS is needed to see this value.
          example: 1203
        quantity:
          type: integer
          format: int32
          example: 826
        itemWeightInGram:
          type: integer
          format: int32
          example: 20
        itemsPerPackage:
          type: integer
          format: int32
          example: 500
        tolerance:
          type: integer
          format: int32
          example: 0
        roundOff:
          type: integer
          format: int32
          example: 20
        dataVersion:
          type: string
          example: '2021-08-18T09:01:24.665844'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/PotentialFilter'
        filterCosts:
          type: integer
          format: int32
    PotentialFilter:
      type: object
      description: Filter for PWS
      properties:
        id:
          type: string
          example: k_kaufkr_kombi
        options:
          type: array
          example:
          - '4'
          items:
            type: string
    MetaSelectionSummary:
      type: object
      description: Response describing a selection
      properties:
        meta:
          $ref: '#/components/schemas/MetaSummary'
        areaCodes:
          type: array
          example:
          - '48231'
          - '47877'
          items:
            type: string
          uniqueItems: true
        areaCodeHouseholdDifferences:
          type: array
          example:
          - areacode: '48231'
            households: 47877
          items:
            $ref: '#/components/schemas/AreaCodeInformation'
          uniqueItems: true
    Permalink:
      type: object
      description: Response when creating a saved temporary selection.
      properties:
        id:
          type: string
          description: The id of the saved selection to request the saved content
          example: aaaa11aa-aa11-aa11-aa11-aaaa11aaaa11
        expiryDate:
          type: string
          description: The expireDate is used to automatically delete old permalinks.
          example:
          - 2023
          - 4
          - 16
    AreaCodeInformation:
      type: object
      properties:
        areaCode:
          type: string
        households:
          type: integer
          format: int32
x-refined-from:
- dhl-deutsche-post-print-mailing-targeting-post-parcel-germany-openapi.yml
- dhl-deutsche-post-print-mailing-targeting-post-parcel-germany-openapi.yml