Webhook

网站 Cookie 管理接口与资源发布事件;写操作还需要 CSRF 和二次验证。

网站 Cookie 管理接口与资源发布事件;写操作还需要 CSRF 和二次验证。

选择接口查看参数、响应、代码示例并手动发送请求。也可以通过站点搜索查找接口名称、路径或参数。

方法接口路径
GET列出我的 Webhook 端点/api/webhooks/endpoints
POST申请创建 Webhook 端点/api/webhooks/endpoints
PATCH修改 Webhook 端点/api/webhooks/endpoints/{id}
DELETE删除 Webhook 端点/api/webhooks/endpoints/{id}
POST轮换 Webhook 签名密钥/api/webhooks/endpoints/{id}/rotate-secret
GET列出端点订阅/api/webhooks/endpoints/{id}/subscriptions
POST订阅资源发布或知识库更新/api/webhooks/endpoints/{id}/subscriptions
DELETE删除资源订阅/api/webhooks/endpoints/{id}/subscriptions/{subscriptionId}
GET查看投递记录/api/webhooks/endpoints/{id}/deliveries
POST重试当前版本的失败投递/api/webhooks/endpoints/{id}/deliveries/{deliveryId}/retry

完整契约:webhooks.json。