Get all Webhooks

Use this API to retrieve a list of webhooks used in your application.

Request Type

  • GET

Request URL

https://campaigns.zoho.com/emailapi/v2/settings/webhook

Content-Type

application/json

List of Response Body Attributes

ParametersData TypeDescription
from_indexIntegerIndicates starting number in the overall dataset where the returned data begins.
total_webhook_countIntegerTotal number of webhooks configured.
webhook_listJSON ArrayContains information about all the webhooks.
created_timeStringTime at which webhook was created (in milliseconds).
is_activeBooleanReturns a true or false value indicating if the webhook is active or not.
webhook_idStringUnique ID of a webhook that can be used in APIs.
nameStringName of the webhook.
typeStringDepicts the request type of the API. Example: POST, PUT, etc.
created_byStringName of the user from whose account webhook was created using API.
urlStringThe URL to which information about emails should be sent.
limitIntegerIndicates the number of webhooks to be returned in the response, starting from the from_index value.
responseJSON ObjectContains the response details of the API.
codeIntegerSuccess or failure code.
messageStringSuccess or failure message returned by the API.

Sample Response - Success

Copied{
    "from_index": 0,
    "total_webhook_count": 0,
    "webhook_list": [
        {
            "created_time": "1675947040032",
            "is_active": true,
            "webhook_id": "5000000322042",
            "name": "Bounce new webhook",
            "type": "POST",
            "created_by": "Zylker",
            "url": "https://zylker.com/bounceone"
        },
        {
            "created_time": "1675948485102",
            "is_active": true,
            "webhook_id": "5000000322074",
            "name": "Bounce webhook 1",
            "type": "POST",
            "created_by": "Zylker",
            "url": "https://zylker.com/bounceonenew"
        },
    ],
    "limit": 200,
    "response": {
       "code": 200201,
        "message": "Successfully obtained the list of configured webhooks"
   }
}