Skip to main content
POST
/
api
/
authentication
/
token
/
api-key
Get access token via API key
curl --request POST \
  --url https://api.telemax.com.au/api/authentication/token/api-key \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data apiKey=your_api_key_here
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "Bearer",
  "expires_in": 3600
}

Headers

Content-Type
string

Standard and must keep it as it is.

Body

application/x-www-form-urlencoded
apiKey
string
required

API key

Example:

"your_api_key_here"

Response

200 - application/json

Successful response

access_token
string

JWT access token

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

token_type
string
Example:

"Bearer"

expires_in
integer

Token expiration time in seconds

Example:

3600