---
title: "Test-send a trigger"
method: POST
path: "/triggers/{id}/test_send"
tags: ["Triggers"]
---

# Test-send a trigger

`POST /triggers/{id}/test_send`

## Path parameters

- `id` string, required

## Request body

- object
  - `customer` string, nullable — The ID of the customer to test-send the trigger to
  - `to_email_address` string, nullable — The email address to test-send the trigger to
  - `to_phone_number` string, nullable — The phone number to test-send the trigger to
  - `variables` object, nullable — The variables to test-send the trigger with
  - `email_address` string — The ID of the email address to use as the sending address (overrides the trigger's configured email address)
  - `phone_number` string — The ID of the phone number to use as the sending phone number (overrides the trigger's configured phone number)
  - `step_ids` string[], nullable — The IDs of the steps to test-send (if omitted, all steps are sent)

## Response `200`

Whether the test send was successful

- object

---

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