Authentication
Alviere uses the OpenID authentication standard.
This section details what is required for authentication and access to the Alviere endpoints.
Get API Credentials
In order to connect to the API, you’ll need to have authentication credentials that should be provided by your Program Manager.
If you don’t have authentication credentials yet, please request them by sending an email from your company email to support@alviere.com.
API Authentication
In order to authenticate to the platform you'll need the following information:
-
client_id
: Your unique client ID in the Alviere platform -
client_secret
: Your API key used to connect to the APIs; you may have more than one secret for your account
Authentication Flow
The following details the flow for authentication:
-
To call any of the APIs in the platform you'll need an access token, so this is always the service you need to call first.
-
The response object from the authentication endpoint will return multiple fields as per the JWT specification. Below are the most relevant:
-
access_token
: The token that is used for all subsequent calls to the API -
expires_in
: The time limit after which the access token will expire; in seconds
-
-
On all subsequent calls to the API, you'll need to include a header in the HTTP request with that information.
The format of the header isAuthorization: Bearer [your_access_token]