Skip to main content
POST
/
api
/
authentication
/
token
/
user
Get access token via user credentials
curl --request POST \
  --url https://api.telemax.com.au/api/authentication/token/user \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data [email protected] \
  --data password=secure_password123
{
  "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
username
string
required

Username

password
string
required

Password

Example:

"secure_password123"

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