---
title: "Execute Trigger"
method: POST
path: "/v1/triggers/{trigger_id}/execute"
tags: ["v1", "public", "triggers"]
---

# Execute Trigger

`POST /v1/triggers/{trigger_id}/execute`

Execute a trigger with the provided event data.

Called by the Go event service when a polling channel receives new messages.
Builds trigger data from the events and channel origin, then creates and
submits a task for agent execution.

Args:
    trigger_id: The unique identifier of the trigger
    request: Events and channel origin data
    http_request: Raw request, used to verify the internal service token
    trigger_service: Injected trigger service

Returns:
    Execution result with task ID

Raises:
    HTTPException: If trigger not found or execution fails

## Path parameters

- `trigger_id` string, uuid, required

## Request body

- TriggerExecuteRequest — Request model for executing a trigger via the event service.
  - `channel_origin` object
  - `events` object[]

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

> 19 revisions in range; 6 could not be searched.

- **2026-04-29** `e1a530c0a2d5` — 1 info
  - endpoint added
- **2026-03-30** `e9c153221160` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/triggers/:trigger_id/execute/post.md)

---

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