API Authorization
Each API consumer must be registered with Advanced Metrics' and be issued one or more API clients (Client ID, Secret Key) QUALO uses token based authentication, so to access the APIs you will need to call our Identity Service and generate an access token based on your specific Client ID and Secret Key.
API Clients
To create an API Client user needs to have proper permissions assigned (PublicAPIClients.View and PublicAPIClients.Add), sign into QUALO website and go to page: System Organization Configuration Public API Clients.
Token Generation
https://api.identity.uat.qualo.net/connect/token
POST
Content-Type: application/x-www-form-urlencoded
| Key | Value |
|---|---|
| grant_type | client_credentials |
| client_id | <CLIENT_ID> |
| client_secret | <CLIENT_SECRET> |
Example response:
{
"access_token": "ACCESS_TOKEN",
"token_type": "Bearer",
"expires_in": 3600,
}Using retrieved token in HTTP header:
| Key | Value |
|---|---|
| Authorization | Bearer ACCESS_TOKEN |
