通用能力接口参考Webhook查询投递记录

查询投递记录

分页查询端点的投递记录,包括投递状态、尝试次数、最近一次的 HTTP 状态码和错误信息。

认证

API Key:X-API-Key: <API Key> 或 Authorization: Bearer <API Key>。

示例中的凭证为占位值,请替换后在服务器端运行。

代码示例

curl -X GET 'https://shixux.com/api/v1/webhook-endpoints/endpoint_id_example/deliveries' \  -H 'X-API-Key: yb_xxx_yyy'
{  "items": [    {      "id": "example",      "event_id": "example",      "event_type": "job.succeeded",      "status": "pending",      "attempt_count": 1,      "created_at": "2026-10-06T10:00:00Z"    }  ]}

路径参数

endpoint_id*string

查询参数

status?string

按投递状态筛选。

cursor?string

分页游标,取自上一页响应中的 next_cursor。

响应体

请求成功

application/json
  1. response
items*array<>
next_cursor?string|null

本页目录