版本:202607
查询 Webhook 详情
GET/openapi/2026-07/webhooks/:id
通过 Webhook ID 获取指定 Webhook 的详情。
请求
Path参数
id string必填
Webhook ID
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
codestring
错误码
messagestring
错误信息
data object
webhook object
Webhook 信息
idstring
Webhook 的Webhook ID
addressstring
Webhook 通知 URL,如 https://example.com/webhook
topicstring
Webhook 的主题
created_atstring
Webhook 的创建时间
updated_atstring
Webhook 的更新时间
formatstring
Webhook 的格式
{
"code": "string",
"message": "string",
"data": {
"webhook": {
"id": "string",
"address": "string",
"topic": "string",
"created_at": "string",
"updated_at": "string",
"format": "string"
}
}
}