clientId): The unique identifier for your application.clientSecret): Used to authenticate your app when exchanging the authorization code for a token.https://app.hypersku.com/application/auth| Parameter | Required | Description |
|---|---|---|
clientId | Yes | Your application's API Key provided during registration. |
scope | Yes | The list of permissions requested (oms). |
redirectUri | Yes | The callback address must exactly match the one provided to the platform during registration. |
state | Yes | A randomly generated string to prevent CSRF attacks. Must be validated in Step 3. |
redirect_uri with a temporary code. Your backend must exchange this code for a permanent token.POSThttps://api.hypersku.com/api/auth/admin/token/access_tokencurl --location '/api/auth/admin/token/access_token' \
--header 'Content-Type: application/json' \
--data '{
"clientId": "string",
"clientSecret": "string",
"code": "string"
}'{
"accessToken": "string",
"expiresIn": 0,
"refreshToken": "string",
"refreshTokenExpireIn": 0,
"scope": "string",
"userId": "string"
}