---
title: "List SMS logs"
method: GET
path: "/v2/sms-logs"
tags: ["SMS"]
---

# List SMS logs

`GET /v2/sms-logs`

Returns a cursor-paginated list of SMS log entries for your organization, newest first. Entries contain delivery metadata (direction, phone numbers, timestamps) — message bodies are not stored.

## Query parameters

- `page_size` integer
- `cursor` string
- `direction` 'inbound' | 'outbound'
- `from_number` string
- `to_number` string
- `from_date` string, date-time
- `to_date` string, date-time

## Response `200`

Paginated list of SMS log entries.

- ListSmsLogsResponse
  - `has_more` boolean, required — Whether more records exist after this page.
  - `next_cursor` string — Opaque cursor to pass as `cursor` in the next request.
  - `sms_logs` SmsLogResponse[], required
    - `id` integer, required — Unique SMS log entry identifier.
    - `direction` 'inbound' | 'outbound', required — Message direction relative to your organization.
    - `from_number` string, nullable — The phone number the message was sent from.
    - `to_number` string, required — The phone number the message was sent to.
    - `session_id` string, nullable — ID of the linked session when the message was part of an SMS conversation.
    - `created_at` string, date-time, required — When the message was logged.

## Other responses

- `401` — Missing or invalid API key.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

---

[API](https://skmtc.net/openmicai/apis/openmic-v1-external-api.md) · [All operations](https://skmtc.net/openmicai/apis/openmic-v1-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmicai/openmic-v1-external-api/revisions/58dc5cff0ca7/schema)
