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 : https://auth.unaconnect.io
The /oauth2/token?grant_type=client_credentials endpoint gets the user's tokens and only supports HTTPS POST.
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
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.