API key token (V2)
Authentication
API key token
Exchange a company API key for a JWT.
POST
API key token (V2)
Overview
Exchanges a Telemax company API key for a signed JWT. Use this for server-to-server integrations where no user identity is required.This endpoint replaces V1 API key token.
Endpoint
POST /api/v2/authentication/token/api-key
Authentication
Not required (public endpoint).Request headers
| Header | Required | Value |
|---|---|---|
| Content-Type | Yes | application/x-www-form-urlencoded |
Request body (form)
Company API key (GUID format, issued from the Telemax dashboard).
Response
200 OK —JwtTokenResponse
| Field | Type | Description |
|---|---|---|
| access_token | string | Bearer token for subsequent API calls |
| token_type | string | Always bearer |
| expires_in | number | Token lifetime in seconds |
Example response
Error responses
| Status | Meaning |
|---|---|
| 401 | Invalid or unrecognised API key |
Body
application/x-www-form-urlencoded
Example:
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Response
Successful response