Generated by API Evangelist
Written by API Evangelist tooling for DHL's API. It is a proposal applied on top of the contract, not a document DHL publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Dhl Authentication and authorization API
version: 1.0.0
extends: openapi/dhl-authentication-and-authorization-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/authenticate/refresh-token'].post
update:
x-apievangelist-phrasing:
intent: Exchange a refresh token for a new access token
effect: write
questions:
- How do I get a fresh access token when my old one expires?
- Can I renew an expired refresh token?
instructions:
- text: Exchange refresh token {refreshToken} for a new access token.
slots:
refreshToken: requestBody.refreshToken
- text: Get a new access token using refresh token {refreshToken}.
slots:
refreshToken: requestBody.refreshToken
method: generated
generated: '2026-11-16'
- target: $.paths['/authenticate/api-key'].post
update:
x-apievangelist-phrasing:
intent: Get an access and refresh token from an API key
effect: write
questions:
- How do I authenticate with my API key and get an access token?
- Can I restrict the API key token to certain account numbers?
instructions:
- text: Authenticate with API key {key} for user {userId} and return an access token.
slots:
key: requestBody.key
userId: requestBody.userId
- text: Issue an access token for user {userId} using key {key} on account numbers {accountNumbers}.
slots:
userId: requestBody.userId
key: requestBody.key
accountNumbers: requestBody.accountNumbers
method: generated
generated: '2026-11-16'
- target: $.paths['/authenticate/api-key/account-numbers'].post
update:
x-apievangelist-phrasing:
intent: List account numbers an API key grants access to
effect: read
questions:
- Which account numbers does my API key have access to?
- Can I check the scope of an API key before using it?
instructions:
- text: List the account numbers my API key grants access to.
- text: Show which accounts I can access with this API key.
method: generated
generated: '2026-11-16'
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.