---
title: "SMS History"
method: GET
path: "/v1.0/communication/text"
tags: ["Communication"]
---

# SMS History

`GET /v1.0/communication/text`

Returns text message history entries for the given lead. Lead must belong to the caller's team.

## Query parameters

- `leadId` integer, required
- `offset` integer
- `limit` integer
- `currentId` integer

## Headers

- `Authorization` string, required

## Response `200`

Text message history entries for the lead.

- CommunicationTextListResponse — Wrapped response for GET /v1.0/communication/text. Text message history entries are returned under the 'texts' key.
  - `texts` TextResponse[] — Text message history entries.
    - `id` integer — The ID of the text
    - `leadId` integer — The lead(Id) associated with the text
    - `direction` string — Outbound or Inbound text
    - `agentId` integer — The related Agent ID
    - `textOutcome` string — Text delivery status
    - `textTime` string — The sending time of the text
    - `textType` string — Manual or Auto text
    - `textContent` string — The content of the text

## Other responses

- `401` — Missing or invalid authentication token.
- `404` — Lead does not exist or is outside the caller's team (20006 LEAD_NOT_EXIST).
- `500` — Internal server error.

---

[API](https://skmtc.net/lofty/apis/lofty-service-open-apis.md) · [All operations](https://skmtc.net/lofty/apis/lofty-service-open-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lofty/lofty-service-open-apis/revisions/23e640467118/schema)
