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

# List all the sent emails for a trigger

`GET /triggers/{id}/sent_emails`

## Path parameters

- `id` string, required

## Response `200`

A dictionary with a `sent_emails` property which is an array of `SentEmail` objects

- object
  - `sent_emails` SentEmail[], required — An array of `SentEmail` objects
    - `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

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
