To communicate with our APIs, you will need an OAuth token with provided client ID and client secret, please contact your UnaBiz sales representative for credential creation.
UnaConnect API uses access tokens to identity the user who is performing the different queries. The access tokens that we provide are conformed to the OAuth2.0 protocol by using AWS Cognito. You will need to use the following endpoint :

The /oauth2/token?grant_type=client_credentials endpoint gets the user's tokens and only supports HTTPS POST.
For more information on the specification see Token Endpoint.

Authorization - MANDATORY
Base64Encode(client_id:client_secret) - If the client was issued a secret, the client must pass its client_id and client_secret in the authorization header through Basic HTTP authorization. The secret is Basic.
Content-Type - MANDATORY
Must always be application/x-www-form-urlencoded.

Authorization= 'Basic ***iMWl0NmY2M6ajIyYTJ***:****HRjYm9yZGtucjZhZ3J***' 
HTTP/1.1 200 OK
Content-Type: application/json
It will return the access_token with its expiration date and its value. You will need to provide this access_token in the Authorization Header of your future requests.