Quick Bearer Token Generating
Introduction
This tutorial will present the fastest method to generate your bearer token. Not all LiveChat API methods can be authorised with PAT so sometimes for your test or development purposes the bearer token is required. Please note that bearer tokens have their expiration time and should be generated again or refreshed if needed.
Video
If you prefer the video tutorial, you could also watch it here:
Implict Grant
To generate our bearer token we will use the Implict Grant method authorising as an agent.
Steps
Create an app in your dev console
First, we need to create an app in the Developer Console. Log in there and choose to create a new app:

Name the app and proceed. For our test we used Bearer testing app.
Add and set the authorisation block
Go to the apps section and find your newly created app there. Click on it and add the App Authorization block:

For our testing purposes we will choose the JavaScript app type. Open your App Authorization block and copy the Client Id - we will need it later.

Different API methods require different scopes to be authorized properly. For your tests you can choose Select all and click Save Changes:

We will use the default set Redirect URI which is https://localhost
.
Once the scopes are saved, go to the Private Installation section and click Install App.
