Authentication

post
Get Token

Token URL: https://accounts.trysolvio.ai/auth/realms/developer/protocol/openid-connect/token
1. To authenticate, you need to generate an access_token by sending your client_id, client_secret and grant_type as the body paramters of the POST method request to the Token URL. 2. Refer to the section 'Get Client Id and Secret' to generate / find your client_id and client_secret 3. Pass the generated access_token in the Authorization header as Bearer <TOKEN> to authenticate each API request.
Request
Response
Request
Body Parameters
client_id
required
string
Your Client ID, get this from the developer dashboard.
client_secret
required
string
Your Client Secret, get this from developer dashboard
grant_type
required
string
client_credentials
Response
200: OK
Token Received
{
"access_token" : "eyJhbGciOiJSUzI1NiIsI....",
"expires_in" : 2592000,
"refresh_expires_in" : 2592000,
"refresh_token" : "eyJhbGciOiJIUzI1....",
"token_type": "bearer",
"not-before-policy": 0,
"session_state": "a5e61b45-98....",
"scope": "email profile"
}
400: Bad Request
Invalid Credentials
{
"error": "unauthorized_client",
"error_description": "INVALID_CREDENTIALS: Invalid client credentials"
}

‚Äč