DHL Authentication API Virtual Sandbox
Generate access tokens for DHL Group APIs.
The DHL Authentication API provides a secure mechanism to generate access tokens required for interacting with various DHL Group APIs. It acts as the central authentication provider for developers integrating DHL logistics and shipping services into their applications.
Use this hosted sandbox to simulate DHL Authentication API APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready.
This keeps your integration code consistent across local development, QA, demos, and production.
Use cases:
Use this sandbox to validate OAuth2 token request flows, handle client credential authentication, verify token expiration logic, and test error handling for invalid credentials or unauthorized access attempts before integrating with DHL production services.
Token
POST
| Query Parameter Name | Example |
|---|---|
response_type* | access_token |
grant_type* | client_credentials |
{
"access_token": "EY2zLKQlTCi4hTenEoh3QtGoLuoxqxRgdITaXlf6CwaP06Yxa69yZ9AoTDaRZeA6",
"expires_in": 85411,
"token_type": "Bearer"
}{
"detail": "Invalid response type.",
"status": 400,
"title": "Bad Request"
}{
"detail": "Authentication token expired.",
"status": 401,
"title": "Unauthorized"
}dhlauthenticationoauthlogisticssecurity