Generate a New Alias Webhook in a Stage
  • 08 Nov 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Generate a New Alias Webhook in a Stage

  • Dark
    Light
  • PDF

Generate new Direct URL hash for Alias

Method for generating a new Direct URL hash for an Alias in a Stage.

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",
            "obj_type": "alias",
            "alias_id": {{ALIAS_ID}},
            "company_id": {{COMPANY_ID}}
        }
    ]
}
Parameter Type Required Description 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 modify
obj string + An object of the request callback_hash
obj_type string + Type of an object of the request alias
alias_id number + Alias IDs An ID of existing Alias
company_id string - Company ID An ID of an existing Company

Response Body

{
    "request_proc": "ok",
    "ops": [
        {
            "id": "",
            "proc": "ok",
            "type": "create",
            "callback_hash": "ef297110590d4beadc15ca680bb5a8d98a520208"
        }
    ]
}
Parameter Type Description Possible value
request_proc string The overall processing status of all transactions from the request ok, error
ops array The list of request results
id string Request ID empty
proc string Processing status of a specific operation ok, error
type string Request type create
callback_hash string The hash of a Direct URL for a task upload to a linked object