查询单个 Webhook 的详情。详情不返回 Signing Secret。
前提
已完成 Endpoint 与鉴权配置,详见API 总览与认证。
接口
GET /webhook_endpoints/{id}
路径参数id Webhook ID,格式 wep_<ULID> | 请求示例 |
响应字段id Webhook ID,格式 wep_<ULID> description 描述 url 回调 URL events 订阅的命名事件类型 status Webhook 状态: disabled_reason 禁用原因;未禁用时为 consecutive_fail 当前连续失败次数 last_success_at 最近成功投递时间 last_failure_at 最近失败投递时间 created_at 创建时间,ISO 8601 updated_at 最近更新时间,ISO 8601 request_id 请求唯一标识 | 响应 |
错误码
| 状态码 | 错误码 | 说明 |
|---|---|---|
| 404 | 11800001 | webhook not found |
该文章对您有帮助吗?