Authentication
Authenticate to Vatis Streams API
The Vatis Streams API offers the following authentication schemas:
- Client credentials: Authenticate using the
Client Id
andClient Secret
provided by Vatis Tech Platform - Authorization token: Authenticate using an
access_token
obtained by exchanging the client credentials - API Key: Authenticate using an
api key
provided by Vatis Tech Platform
Get client credentials
Get the Client Id
and Client Secret
from your API Dashboard
Set the client credentials
There are two ways to set the client credentials on each request:
- Set the
X-Client-Id
andX-Client-Secret
headers - Set the
client_id
andclient_secret
query parameters
Get client credentials
Get the Client Id
and Client Secret
from your API Dashboard
Set the client credentials
There are two ways to set the client credentials on each request:
- Set the
X-Client-Id
andX-Client-Secret
headers - Set the
client_id
andclient_secret
query parameters
Get client credentials
Get the Client Id
and Client Secret
from your Vatis Tech Platform account
Exchange credentials for access token
Extract the access token
In the response, you will get an access_token
which you can use to authenticate your requests.
Set the authorization token
There are two ways to set the authorization token on each subsequent request:
- Set the
Authorization
header with theBearer [token]
value - Set the
access_token
as a query parameter having the token as the value
Get the API key
Get the API key
from your API Dashboard
Set the API key
There are two ways to set the API key on each subsequent request:
- Set the
Authorization
header with theBasic [api_key]
value - Set the
access_token
as a query parameter having the API key as the value