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

# List the sent emails for a trigger (paginated)

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

## Request

- Base URL: `https://api.pocketflows.com`
- URL: `https://api.pocketflows.com/triggers/{id}/sent_emails/paginated`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/pocketflows/apis/pocketflows-api/docs/triggers/:id/sent_emails/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 emails

- 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` SentEmail[], required: The sent emails on this page, newest first
    - `id` string, required: The ID of the campaign
    - `created_at` string, required: The time when the campaign was created in ISO 8601 format
    - `customer` string, nullable, required: The ID of the customer that was sent the email
    - `subject` string, required: The subject of the email
    - `sent_at` string, nullable, required: The time when the email was sent in ISO 8601 format
    - `failed_at` string, nullable, required: The time when the email failed to send in ISO 8601 format
    - `failed_reason` string, nullable, required: The reason the email failed to send
    - `to_email_address` string, nullable, required: The email address the email was sent to
    - `sendgrid_message_id` string, nullable: Sendgrid's returned message ID
    - `paubox_message_id` string, nullable: Paubox's returned message ID
    - `postmark_message_id` string, nullable: Postmark's returned message ID

## Changes

- **2026-11-10** `ff7de91317c2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pocketflows/apis/pocketflows-api/changes/triggers/:id/sent_emails/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)
