LiveChat (Text) API
12 endpoints for LiveChat (Text), each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/livechat
- Connects with
- Your own LiveChat agent login (agent, admin or owner). What your agent can do follows your role. You sign in in your own browser and keep your SSO or 2-step verification.
- Integration page
- LiveChat (Text)
Read (6)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Chats in My chats, Queued chats, Unassigned chats or Supervised chats, with customer, channel and last message. |
| GET | Full transcript of one chat with every message, private note and tag. |
| GET | Archived chats, newest first, filtered by tag, agent, group, date or search text. |
| GET | Tags your role can see, with the group each one is limited to. |
| GET | Shared and private canned responses with text, shortcuts, group and tags. |
| GET | Agents and groups a chat can be transferred to, with their current availability. |
Write (6)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Reply to the customer in a chat, as you. |
| POST | Add a message to a chat that only agents see. |
| POST | Add tags to a chat, or remove them. |
| POST | Move a chat to another agent or to a group. |
| POST | Stop an active chat and move it to Archives. |
| POST | Create a canned response, or change one by its ID. |