GET
/
triggers
/
{id}
/
sent_emails
List all the sent emails for a trigger
curl --request GET \
  --url https://api.pocketflows.com/triggers/{id}/sent_emails \
  --header 'Authorization: Basic <encoded-value>'
{
  "sent_emails": [
    {
      "id": "<string>",
      "created_at": "<string>",
      "subject": "<string>",
      "sent_at": "<string>",
      "failed_at": "<string>",
      "failed_reason": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the trigger

Response

200 - application/json

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

sent_emails
The Sent Email object · object[]
required

An array of SentEmail objects