Skip to main content
POST
查询 Webhook 投递日志

授权

X-API-KEY
string
header
必填

生产环境 API Key,可在 ADP 平台的「我的 API」中查看。请确保 API Key 有效且属于生产环境。

路径参数

tenant_name
string
默认值:laiye
必填

租户名称,默认 laiye。

请求体

application/json
webhook_id
string | null

Webhook 配置 ID;建议始终提供以收窄日志查询范围。

start_time
string | null

起始时间,格式 YYYY-MM-DD HH:mm:ss。省略时默认为结束时间前 72 小时。

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
end_time
string | null

结束时间,格式 YYYY-MM-DD HH:mm:ss。省略时为当前时间。

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
page
integer
默认值:1
必填范围: x >= 1
page_size
integer
默认值:20
必填范围: 1 <= x <= 100

响应

Webhook 投递日志。response_body 可能包含敏感数据。

data
object
必填
code

业务码。成功通常为 success 或 200。

message
string

返回信息。

tips
string | null

详细信息,默认为空。