Use one of the authentication and service endpoints below based on your subscription plan.
Hyperflow APIs implement OAuth2 with JWT tokens for Authentication and Authorization.
Go to Admin > Access control and generate credentials - client_id and client_secret - for securely stablish programmatic access to Hyperflow APIs.
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 temporary access_token to be used to communicate with the Hypeflow APIs.
200 OK
{
"access_token": "XXXXXXXXXXXXXXXXXXX",
"expires_in": "3600",
"token_type": "Bearer",
}