---
title: "Get Livechat Message Log"
method: GET
path: "/v1/data_extract/livechat_message_log"
tags: ["Data Extract"]
---

# Get Livechat Message Log

`GET /v1/data_extract/livechat_message_log`

## Request

- Base URL: `https://api.capacity.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.capacity.com/v1/data_extract/livechat_message_log`
- Auth: one of:
  - API key in header `x-capacity-id`
  - HTTP bearer

Get livechat message log data for messages within the specified timeframe. Results are paginated.

## Query parameters

- `page` integer
- `limit` integer
- `created_at_utc_start` string, required
- `created_at_utc_end` string, required
- `agent_email` string
- `agent_team` string

## Response `200`

A custom data array of Livechat Message Log objects

- object
  - `body` object: Json body data in the request
  - `limit` integer: Number of results returned
  - `page` integer: Page of results returned
  - `parameters` object: Query parameters in the request
  - `result` LivechatMessageLogResponseSchema[]
    - `data` LivechatMessageLogSchema[]
      - `livechat_uuid` string: The unique identifier for the livechat request
      - `agent_name` string: The name of the agent who handled the livechat session
      - `agent_email` string: The email address of the agent who handled the livechat session
      - `agent_team` string: The team the agent belongs to
      - `chatter_name` string: The name of the chatter (customer) in the livechat session
      - `chatter_email` string: The email address of the chatter (customer)
      - `message` string: The content of the message
      - `message_sent_by` string: Who sent the message (Agent or Chatter)
      - `livechat_created_at_utc` string, date-time: The datetime (in UTC) when the message was created
    - `_meta` object

## Other responses

- `400`: The request contains malformed data or violates data integrity

---

[API](https://skmtc.dev/capacity/apis/capacity-api-docs.md) - [All operations](https://skmtc.dev/capacity/apis/capacity-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/capacity/apis/capacity-api-docs/revisions/74c85bb61004?raw)
