Test trigger
POST
/v1/triggers/{triggerId}/testTest-fire a trigger with an optional event payload.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| triggerId | path | string | Yes | Trigger ID |
Query parameters
None.
Body schema
Content type: application/json · Optional
| Field | Type | Required | Description |
|---|---|---|---|
| payload | object | No | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Trigger test execution createdapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| execution | object | No | — |
| execution.id | string | No | Unique identifier. |
| execution.triggerId | string | No | Trigger ID. |
| execution.threadId | string | No | Thread ID. |
| execution.eventPayload | object | No | — |
| execution.status | pending | running | completed | failed | No | Current lifecycle status. |
| execution.error | string | No | — |
| execution.createdAt | string | No | ISO 8601 timestamp. |