LiveChat Events API

The Events API from LiveChat — 5 operation(s) for events.

GitHub OpenAPI
Business capability
Customer Inquiry Management BC-430.10

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /agent/action/send_event Send a message in a chat · Send event #
Ask an LLM
“How do I reply to a visitor's message in a chat?”
“Can an agent send a chat event like a status update?”
Tell an agent
Send a message in the current chat.
Post a chat event for the visitor.
POST /agent/action/send_event_preview Preview an unsaved chat message · Send event preview #
Ask an LLM
“Can an agent preview a message before sending it?”
“What is the unsaved message preview for a chat?”
Tell an agent
Preview this unsaved chat message.
Show how the chat message will look before sending.
POST /agent/action/upload_file Upload a file to a chat · Upload file #
Ask an LLM
“How do I send a file to a visitor in a chat?”
“What is the maximum file size for chat uploads?”
Tell an agent
Upload this file to the chat.
Send a file to the visitor, up to 10MB.
POST /agent/action/send_rich_message_postback Send a rich message postback · Send rich message postback #
Ask an LLM
“Can an agent send a rich message postback in a chat?”
“What does a rich message postback do?”
Tell an agent
Send a rich message postback.
Respond to a rich message with a postback.
POST /agent/action/mark_events_as_seen Mark chat events as seen · Mark events as seen #
Ask an LLM
“How do I mark chat messages as seen?”
“Can an agent acknowledge chat events?”
Tell an agent
Mark the chat events as seen.
Acknowledge the visitor's chat messages.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/livechat:livechat-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

livechat-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiveChat Agent Chat Events API
  description: REST endpoints (Text Platform v3.6 Agent Chat API) for agents to manage chats, send messages, transfer conversations, and update statuses. All actions are POST requests under /agent/action/{action} and authenticated with OAuth 2.x bearer tokens or Personal Access Tokens.
  version: v3.6
  contact:
    name: LiveChat / Text Platform
    url: https://platform.text.com/docs/messaging/agent-chat-api
servers:
- url: https://api.livechatinc.com/v3.6
  description: LiveChat Agent Chat API
security:
- bearerAuth: []
tags:
- name: Events
paths:
  /agent/action/send_event:
    post:
      tags:
      - Events
      summary: Send event
      description: Send a message or event in a chat.
      operationId: sendEvent
      responses:
        '200':
          description: Event sent.
  /agent/action/send_event_preview:
    post:
      tags:
      - Events
      summary: Send event preview
      description: Send an unsaved message preview.
      operationId: sendEventPreview
      responses:
        '200':
          description: Preview sent.
  /agent/action/upload_file:
    post:
      tags:
      - Events
      summary: Upload file
      description: Upload a file (max 10MB).
      operationId: uploadFile
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: File uploaded.
  /agent/action/send_rich_message_postback:
    post:
      tags:
      - Events
      summary: Send rich message postback
      operationId: sendRichMessagePostback
      responses:
        '200':
          description: Postback sent.
  /agent/action/mark_events_as_seen:
    post:
      tags:
      - Events
      summary: Mark events as seen
      operationId: markEventsAsSeen
      responses:
        '200':
          description: Acknowledged.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.x bearer token or Personal Access Token.