Authentication

AccountView is using an authentication method called OAuth2. Which means you first need to connect using a username and password. If your username and password are correct then you will receive a token from the API. You will need to use the token if you want to collect data using the API.


You will find detailed information about authentication in the authentication procedure menu in accountview.net


Below an HTTP POST example for getting a token


https://www.accountview.net/api/v3/token?client_id=XXXXXXXXXXXXXXXX&client_secret=XXXXXXXXXXXXXXXXXXX&scope=acc_mcip-sts_be_kmo_filedrop.full


You will need to send the Client ID and the Client Secret and once you did this you will get an access token back.


You will get the response back in which the access token is embedded.


{

    "access_token""XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",

    "scope""readaccountviewdata"

}


A token as a limited life time, which means after it expires you will need to refresh the token.