This API is designed to assist in debugging user webhooks. It allows you to query the detailed status of the current webhook event using a taskId.Once you retrieve the event details and obtain the event ID, you can then use it to trigger a retry of that specific webhook event.
curl--location--request POST 'https://www.runninghub.ai/task/openapi/getWebhookDetail' \
--header'Host: www.runninghub.ai' \
--header'Content-Type: application/json' \
--data-raw'{
"apiKey": "Please enter your own apiKey and keep it safe.",
"taskId": "1904154698679771137"
}'
Responses
🟢200成功
application/json
Body
code
integer
optional
返回标记:成功标记=0,非0失败,或者是功能码
msg
string
optional
返回信息
data
null
optional
数据
Example
{"code":0,"msg":"success","data":{"id":"1904444422778503169","userApiKey":"******************","taskId":"1904444422770114561","webhookUrl":"https://your-webhook-url","eventData":"{\"code\":0,\"msg\":\"success\",\"data\":[{\"fileUrl\":\"https://rh-images.xiaoyaoyou.com/de0db6f2564c8697b07df55a77f07be9/output/ComfyUI_00059_hnona_1742889987.png\",\"fileType\":\"png\",\"taskCostTime\":78,\"nodeId\":\"9\"}]}","callbackStatus":"FAILED","callbackResponse":"I/O error on POST request for \"https://your-webhook-url\": Remote host terminated the handshake","retryCount":3,"createTime":"2025-03-25T16:05:07","updateTime":"2025-03-25T16:08:10"}}