runninghub-api
    runninghub-api
    • Instructions for Use
    • About nodeInfoList
    • About Enterprise ComfyUI API
    • Native ComfyUI API Integration Guide
    • Start ComfyUI Task 1 - Basic
      POST
    • Start ComfyUI Task 2 - Advanced
      POST
    • Start AI App Task
      POST
    • Get Workflow JSON
      POST
    • Check Task Status
      POST
    • Check Task Output
      POST
    • Cancel ComfyUI Task
      POST
    • Get Account Information
      POST
    • Upload Resource(image\video\audio)
      POST
    • Upload Lora
      POST
    • Get Webhook Event Details
      POST
    • Resend Specific Webhook Event
      POST

      Get Webhook Event Details

      POST
      /task/openapi/getWebhookDetail
      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.

      Request

      Authorization
      Header Params
      Host
      string 
      required
      Example:
      www.runninghub.ai
      Body Params application/json
      apiKey
      string 
      optional
      Example:
      {{apiKey}}
      taskId
      string 
      optional
      Example:
      1904154698679771137
      Example
      {
          "apiKey": "{{apiKey}}",
          "taskId": "1904154698679771137"
      }

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      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"
          }
      }
      Modified at 2025-03-26 11:24:29
      Previous
      Upload Lora
      Next
      Resend Specific Webhook Event
      Built with