Authentication

Authentication

INVOLI API uses an OAuth2 access token. To obtain a valid token send a POST HTTP request to the address : 
https://auth.involi.live/token with a body containing your client_id, client_secret, and using client_credentials grant type.

For example with curl :

curl -X POST 'https://auth.involi.live/token' \
-d 'client_id=${client_id}' \
-d 'client_secret=${client_secret}' \
-d 'grant_type=client_credentials'

As a result, the response should 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> will be needed for connection to the data stream.

PreviousNext