For mobile devices and desktop applications, the Webankieta API implements the OAuth2 standard.

Bearer header


Using the API requires attaching a bearer token to every request in the Authorization header, for example:

Authorization: Bearer <token>

The token must be generated beforehand using the following request.

url: auth.customerhero.com/token 
method: POST 

post parameters: 
- grant_type: client_credentials 
- client_id: string
- client_secret: string


The token is valid for 1 hour.


The number of new token generations is limited within one hour.
We recommend saving the token on the calling application side (e.g., in a file or cache) and generating a new one after it expires (in case a 401 code occurs).

The client credentials grant_type is supported.


Testing the connection.

You can test the connection to the API using standard tools such as POSTMAN