---
title: "Get the executions of a trigger"
method: GET
path: "/triggers/{id}/executions"
tags: ["Triggers"]
---

# Get the executions of a trigger

`GET /triggers/{id}/executions`

## Path parameters

- `id` string, required

## Response `200`

The executions of the trigger

- object
  - `executions` TriggerExecution[], required — The executions of the trigger
    - `id` string, required — The ID of the trigger execution
    - `customer` union, required — The customer executing through the trigger
      - string
      - Customer
        - `id` string, required — The ID of the customer
        - `external_id` string, nullable, required — The external ID of the customer
        - `email_address` string, nullable, required — The email address of the customer
        - `phone_number` string, nullable, required — The phone number of the customer
        - `full_name` string, nullable, required — The full name of the customer
        - `metadata` object, required — The metadata associated with this customer
        - `unsubscribed` 'future' | 'campaign', nullable, required — The unsubscribe status of the customer
    - `scheduled_at` string, nullable, required — The scheduled time for the next step of the trigger execution
    - `step_count` integer, required — The index of the next step of the trigger to execute
    - `current_step_id` string, nullable, required — The ID of the current step
    - `status` 'pending' | 'in_progress' | 'retrying' | 'finished' | 'failed' | 'stopped', required — The status of the execution
    - `failed_at` string, nullable, required — The time when the execution failed
    - `failed_reason` string, nullable, required — The reason for failure
    - `finished_at` string, nullable, required — The time when the execution finished
    - `finished_reason` string, nullable, required — The reason for finishing
    - `stopped_at` string, nullable, required — The time when the execution was stopped
    - `started_at` string, nullable, required — The time when the execution started processing in ISO 8601 format
    - `created_at` string, required — The time the execution was created — i.e. when the customer was enrolled in the trigger — in ISO 8601 format

---

[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)
