Authorize
Token
Use the /api/v1/token endpoint to receive an access token.
POST
Token
Use the
The
https://api.flinks.io/api/v1/token endpoint to receive an access token so that you can start using the Open Banking API.
Token structure
When you use theauthorization_code or refresh_token as the grant type, the token will include the following claims:
sub claim can be used to uniquely identify the user at the Data Provider.
About the refresh_token
When you’re usingauthorization_code as the grant type, the refresh_token that you receive is controlled by Flinks. It has an idle timeout of 30 days and does not expire. This means that it can be refreshed indefinitely unless it’s revoked. The refresh_token also does not change when exchanged.
How to handle an error response
If you receive an error response, refer to the List of Authorization Errors for more information about the error and how to resolve it.Body
application/json
Response
Returned when the token request is successful. The response varies based on the grant_type:
refresh_token- Returnsaccess_token,token_type, andexpires_in.authorization_code- Returnsaccess_token,token_type,refresh_token, andexpires_in.client_credentials- Returnsaccess_token,token_type, andexpires_in.