Here’s an example API request that returns the number of chats for a given time period:
After using this request in your browser, you will be asked for your credentials. You need to provide your login, which is the same as your LiveChat login. To get the password, you need to generate your PAT (Personal Access Token). You can create your PAT inside Developer Console. Just go to the section Tools > Personal Access Tokens and create a new PAT.
Next, use the key as your password.
A string of data will be returned when you login successfully. The data contains information about the number of chats by month from the 1st of March 2014.
You can also use this online JSON to CSV (Excel) converter to make the raw data more accessible.
This is just one example of the possibilities that API provides. You can get the full list of available API methods, along with more information on the API itself, via the API documentation page.
Using the API methods, you can create all kinds of custom integrations. For example, you can connect LiveChat to your phone line and change the statuses of agents whenever there is a call pending.