Authentication
To be able to connect to the API you need to get an access token. After that you create a request header with the name Authorization and value Bearer [access token].
Get an access token with Postman:
- Select authorization type
Oauth2. - Select add authorization data to
Request headers. - Click Get New Access Token.
- Set Grant Type
Authorization Code. - Set Callback URL
https://www.getpostman.com/oauth2/callback. - Set Auth URL
https://api.northbricks.io/oauth/authorize. - Set Access Token URL
https://api.northbricks.io/oauth/token. - Set Client ID to your Client ID.
- Set Client Secret to your Client Secret.
- Set scope to
read(scopes are not fully implemented yet). - Set Client Authentication
Send as Basic Auth header. - Click Request token and login with a user that you created with https://api.northbricks.io/signup.
- You can now start using the api. Try to make a
GETrequest to https://api.northbricks.io/api/v1/me/banks with the aquired token in a request header. It should return an empty array of banks.