---
title: "Cua Webhook Create"
method: POST
path: "/cua/webhooks"
---

# Cua Webhook Create

`POST /cua/webhooks`

## Request

- Base URL: `https://aihcc.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://aihcc.cloud/cua/webhooks`
- Auth: none declared

注册 CUA 裁决 webhook。

template 决定载荷格式：generic（原始 JSON）/ wecom（企业微信 markdown）/
dingtalk（钉钉 markdown）。L2 / takeover 确认创建时自动推送。

## Request body

- CuaWebhookCreateRequest
  - `url` string, required
  - `template` 'generic' | 'wecom' | 'dingtalk'
  - `secret` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aihcc/apis/hallucc-api.md) · [All operations](https://skmtc.dev/aihcc/apis/hallucc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aihcc/apis/hallucc-api/revisions/5818dff6d4c6?raw)
