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

---

[API](https://skmtc.net/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.net/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/versions/e3650e48373b/schema)
