POST
/
oem_onauth_v2
/
token
Fetch OEM bearer token
curl --request POST \
  --url https://api.ekhodealer.com/oem_onauth_v2/token \
  --header 'Content-Type: application/json' \
  --data '{
  "oemKey": "<string>",
  "username": "<string>",
  "password": "<string>"
}'
{
  "accessToken": "<string>",
  "expiryTime": 123
}

Body

application/json
oemKey
string

Key to identify and authenticate the OEM admin.

username
string

Username of the admin account.

password
string

Password of the admin account.

Response

Successfully authenticated and fetched access token.

accessToken
string

The access token for authenticated requests.

expiryTime
integer

The expiration time of the token formatted as a Unix timestamp (milliseconds since Unix epoch).