---
title: "set capture config"
method: POST
path: "/w/{workspace}/capture/set_config"
tags: ["capture"]
---

# set capture config

`POST /w/{workspace}/capture/set_config`

## Path parameters

- `workspace` string, required

## Request body

- object
  - `trigger_kind` 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'amqp' | 'gcp' | 'azure' | 'email', required
  - `path` string, required
  - `is_flow` boolean, required
  - `trigger_config` object

## Response `200`

capture config set

- object

## Changes

> 176 revisions in range; 16 could not be searched.

- **2026-07-21** `f0a0103ed598` — 1 info
  - added the new `amqp` enum value to the request property `trigger_kind`

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/capture/set_config/post.md)

---

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