Authentication
To acquire a valid OAuth2 access token for the INVOLI API, make a POST request to the following URL:
https://auth.involi.live/token. Ensure that your request body includes your client_id, client_secret, and specifies the client_credentials grant type.
For instance, using curl:
curl -X POST 'https://auth.involi.live/token' \
-d 'client_id=${client_id}' \
-d 'client_secret=${client_secret}' \
-d 'grant_type=client_credentials'Thus, the reply is expected to be similar to:
{
"access_token": "${access_token}",
"expires_in": 300,
"refresh_expires_in": 0,
"token_type": "Bearer",
"not-before-policy": 0,
"scope": ""
}This <access_token> is required for establishing a connection to the data stream.