---
title: "List the sent SMS messages for a trigger (paginated)"
method: GET
path: "/triggers/{id}/sent_sms_messages/paginated"
tags: ["Sent sms messages"]
---

# List the sent SMS messages for a trigger (paginated)

`GET /triggers/{id}/sent_sms_messages/paginated`

## Request

- Base URL: `https://api.pocketflows.com`
- URL: `https://api.pocketflows.com/triggers/{id}/sent_sms_messages/paginated`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/pocketflows/apis/pocketflows-api/docs/triggers/:id/sent_sms_messages/paginated/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Query parameters

- `after` string

## Response `200`

A paginated list of the trigger's sent SMS messages

- object
  - `page_info` object, required: Pagination metadata
    - `has_next_page` boolean, required: Whether there are more results after this page
    - `end_cursor` string, nullable, required: Cursor to pass as `after` on the next request. Null when the page is empty.
  - `total_count` integer: Total number of records matching the filters (across all pages). Only present when `expand[]=total_count` is requested; opt-in because COUNT(*) is O(N) on large filtered sets.
  - `data` SentSMSMessage[], required: The sent SMS messages on this page, newest first
    - `id` string, required: The ID of the sent SMS message
    - `created_at` string, required: The time when the SMS was created in ISO 8601 format
    - `customer` string, nullable, required: The ID of the customer that was sent the SMS message
    - `business` string, nullable, required: The ID of the business that sent the text message
    - `to_phone_number` string, required: The phone number the SMS was sent to
    - `message` string, required: The content of the SMS message
    - `mms` boolean, required: Whether the text message went over MMS, e.g. included an image
    - `num_segments` number, required: The number of text segments used
    - `sent_at` string, nullable, required: The time when the SMS was sent in ISO 8601 format
    - `twilio_message_sid` string: Twilio's returned message SID
    - `telgorithm_message_sid` string: Telgorithm's returned message SID
    - `campaign` string: The ID of the campaign that sent the SMS message. Only present if the SMS message was sent as part of a campaign
    - `trigger` string: The ID of the trigger that sent the SMS message. Only present if the SMS message was sent as part of a trigger

## Changes

- **2026-11-11** `3b2a2fc1c31a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pocketflows/apis/pocketflows-api/changes/triggers/:id/sent_sms_messages/paginated/get.md)

---

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