WebhookService

POST /v1/me/webhooks

CreateSubscription 创建 Webhook 订阅。

Request

Request body

enabledboolean

是否启用(默认 true)

eventTypesstring[]

订阅的事件类型列表(如 ["request.completed", "request.failed"])

secretstring

签名密钥(用于验证 Webhook 请求)

urlstring

Webhook 回调 URL

Response

OK

secretstring

签名密钥明文,仅创建时返回一次;列表、详情和更新接口不会回显

Changes

No recorded changes to this operation across all 11 revisions of this API.