- Basic authentication is required for workspaces management, and obtaining access token for operating against workspaces resources.
- Token authentication is required when accessing workspace specific resources (Connection, Account, Extraction etc.)
Basic authentication
Basic authentication is required for workspaces management, and obtaining access token for operating against workspaces resources.
When Basic auth is required, use credentials provided by Improvado for Embedded API access.
It is common implementation of Basic auth, as described in the RFC 7616:
Credentials value is base64 encoded string composed from username and password separated by : .
Requests requiring this type of authentication must contain following header
Authorization: 'Basic <credentials value>'
Implementation example (Python):
Code
Authenticating with invalid credentials will return 401 Unauthorized
Token authentication
Token authentication is required when accessing workspace specific resources (Connection, Account, Extraction etc.)
Token value is obtained from Create a token endpoint.
Requests requiring this type of authentication must contain the following header:
Authorization: 'Bearer <token value>'
Token expiration time is 30 minutes.
The expiration time is renewed when the token is used to authorize a request.
New token acquisition is required if the token has expired.
Authenticating with an invalid or expired token will return 401 Unauthorized
Implementation example (Python):
Code

