Start building

C# library for LiveChat API

Krzysztof Górski, Dec 10, 2015

We have just published the C# library for the LiveChat API. With only two lines of code you can add an agent, create a ticket, start a chat or get the availability report.

Here is an example of how to get the list of all agents:

public class ApiExample
    LiveChatApi.Api Api;

    public ApiExample()
        Api = new LiveChatApi.Api("", "API_KEY");

    public async Task GetAgents()
        string result = await Api.Agents.List();

Visit the project website at GitHub, where you can find installation guidelines and more usage examples.

If you are interested in evaluating the LiveChat API using PHP, node.js or Ruby check out the LiveChat REST API website for more information.

Latest articles

Jun 6, 2024

What Is GitHub Used For and How Can It Enhance Your Projects...

Jun 4, 2024

Discover the Best Code Editor: Top Choices for Developers in...

May 23, 2024

The Developer's Blueprint: How to Become a Software Develope...