---
title: "Trigger Webhook"
method: POST
path: "/api/schedules/trigger/{webhook_token}"
tags: ["schedules"]
---

# Trigger Webhook

`POST /api/schedules/trigger/{webhook_token}`

Public endpoint to trigger a workflow via webhook.
Runs the workflow synchronously and returns actual results.

Accepts:
- JSON body: {"fields": {...}, "rows": [...], "metadata": {...}}
- Multipart form-data: "payload" (JSON string) + "file" (file upload)
- No body: Just triggers the workflow without data

Returns:
- status: "success" or "error"
- execution_id: UUID of the execution record
- results: Output from each node in the workflow
- execution_time_ms: How long the workflow took to run

## Path parameters

- `webhook_token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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