API Guide
Request Config
If you don't have CLIENT_ID
and CLIENT_SECRET
, please contact us, so we can enable an authorization client for you.
Authenticate
We use OAuth2 and OIDC for authentication. To authenticate and get a valid access token, you also need to provide your email and password of the account you created.
1 2 3 4 5 6 7 8
curl -i -X POST "https://id.helio.exchange/auth/realms/helio/protocol/openid-connect/token" \ --header 'content-type: application/x-www-form-urlencoded' \ --data 'grant_type=password' \ --data 'scope=openid' \ --data 'username=YOUR_EMAIL' \ --data 'password=YOUR_PASSWORD' \ --data 'client_id=CLIENT_ID' \ --data 'client_secret=CLIENT_SECRET'
Once you are authenticated, please keep the token information you get in the response, as it’s required in the next steps. We’ll refer to it as ACCESS_TOKEN
.