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

# List SMS messages

`GET /sms-messages`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/sms-messages`
- Auth: API key in header `Authorization`

Lists texts on the account's business lines, newest first: what contacts sent, what the line's assistant and follow-ups answered, and texts sent through this API. Filter by `counterpart` to read one conversation.

## Query parameters

- `counterpart` string
- `direction` 'inbound' | 'outbound'
- `author` 'contact' | 'assistant' | 'outreach' | 'agent'
- `status` string
- `created` union
  - integer: Unix seconds, exact match
  - string: Unix seconds or an ISO 8601 time, exact match
  - object
    - `gt` union
      - integer: Unix seconds
      - string: Unix seconds or an ISO 8601 time
    - `gte` union
      - integer: Unix seconds
      - string: Unix seconds or an ISO 8601 time
    - `lt` union
      - integer: Unix seconds
      - string: Unix seconds or an ISO 8601 time
    - `lte` union
      - integer: Unix seconds
      - string: Unix seconds or an ISO 8601 time

## Response `200`

List of texts

- ListResponseSmsMessage
  - `object` 'list', required
  - `data` SmsMessage[], required
    - `id` string, required
    - `object` string, required
    - `direction` 'inbound' | 'outbound', required
    - `author` 'contact' | 'assistant' | 'outreach' | 'agent', required
    - `status` 'received' | 'pending' | 'sent' | 'delivered' | 'failed' | 'refused' | 'superseded' | 'canceled', required
    - `body` string, required
    - `segments` integer, required
    - `credits_charged` integer, nullable, required
    - `error` string, nullable, required
    - `sent_at` string, date-time, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `phone_number` string, required
    - `counterpart` string, required
    - `contact` string, nullable, required
    - `failure` 'undelivered' | 'send_failed' | 'null', nullable, required: Why a failed text failed: undelivered when the carrier accepted it and could not deliver it, send_failed when it was never sent. null unless status is failed.
    - `suppression` string, nullable, required: The phone suppression (`psup_...`) a refused text was held back by. null unless status is refused for a suppressed number.
    - `sms_follow_up` string, nullable, required
  - `has_more` boolean, required
  - `url` string, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 7 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - …3 more
- **2026-11-14** `a37321cbfdd6`: 2 breaking, 1 warning, 3 info
  - removed the enum value `customer` from the `query` request parameter `author`
  - removed the required property `data/items/customer` from the response with the `200` status
  - added the new `contact` enum value to the `data/items/author` response property for the response status `200`
  - added the new enum value `contact` to the `query` request parameter `author`
  - …2 more
- **2026-11-13** `059d0b2f9e05`: 2 info
  - added the required property `data/items/failure` to the response with the `200` status
  - added the required property `data/items/suppression` to the response with the `200` status
- **2026-11-13** `4ed07d37608f`: 1 info
  - added the new optional `query` request parameter `created`
- **2026-10-27** `ad9fd6476d85`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/sms-messages/get.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
