Re-enable webhook
  • 11 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Re-enable webhook

  • Dark
    Light
  • PDF

Re-enable Direct URL upload

Method for Re-enabling Direct URL task upload to procesess and state diagrams.

postman Download our collection of Postman queries to see more examples of Corezoid API v2.

URL

https://api.corezoid.com/api/2/json/{API_LOGIN}/{TIMESTAMP}/{SIGNATURE}

Request Body

{
  "ops": [
    {
      "type": "modify",
      "obj": "callback_hash",
      "conv_id": {{CONV_ID}}
    }
  ]
}
parameter accept type description required possible value
ops JSON Object The list of operations to proceed via Corezoid API. A parameter keeping JSON objects with operations + * The number is user-limited by RPS limit.
type string A request type for re-enabling or showing direct URL hash for task upload + modify
obj string An object of request + callback_hash
conv_id number / number as string An ID of an Object (Process, State diagram), for which you want to re-enable direct URL + An ID of an existing Process or State diagram

Response Body

{
    "request_proc": "ok",
    "ops": [
        {
            "id": "",
            "proc": "ok",
            "conv_id": 783230,
            "callback_hash": "acb437c275a04603d10f7044547dcb7c4b1b6dc8"
        }
    ]
}
Parameter Type Description Possible value
request_proc string The overall processing status of all transactions from the request ok, error
ops JSON Object The list of operations proceeded via Corezoid API. A parameter keeping JSON objects with operations
id string Request ID empty
proc string The processing status of a specific operation ok, error
conv_id number The ID of an object, for which you re-enabeled Direct URL task upload An ID of an existing Process or State diagram
callback_hash string The hash of Direct URL task upload