通用能力接口参考Webhook发送测试事件

发送测试事件

向端点发送一条签名的 endpoint.test 事件,用于验证接收逻辑。不会创建生成任务。

认证

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

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

代码示例

curl -X POST 'https://shixux.com/api/v1/webhook-endpoints/endpoint_id_example/test' \  -H 'X-API-Key: yb_xxx_yyy'
{  "delivery_id": "example",  "status": "pending"}

路径参数

endpoint_id*string

响应体

请求成功

application/json
  1. response
delivery_id*string
status*string

本页目录