Hyperflow

Access and Security

Authentication and Authorization

Hyperflow APIs implement OAuth2 with JWT tokens for Authentication and Authorization. As a partner, you are provided with a set of client_id and client_secret credentials in order to interact with the Hyperflow identify endpoint and generate a JWT token


curl -s -X POST -H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials&client_id={{ client_id }}&client_secret={{ client_secret}}" \
https://{{ tenant }}.lightenup.ai/auth/oauth2/token"

If the Token is valid and user authorized, the response payload includes the access_token to be used for future commications with Hypeflow APIs.


200 OK
{
  "access_token": "XXXXXXXXXXXXXXXXXXX",
  "expires_in": "86400",
  "token_type": "Bearer",
}