Get Webhook Details
Use this API to get webhook details such as webhook name, type, actions and authorization details if included.
Request Type
GET
Request URL
https://campaigns.zoho.com/emailapi/v2/settings/webhook/{webhook_id}
Content-Type
application/json
List of Response Body Attributes
Parameters | Data Type | Description |
webhook | JSON Object | Contains all the details pertaining to the webhook. |
created_time | String | Time at which webhook was created (in milliseconds). |
is_active | Boolean | Returns a true or false value indicating if the webhook is active or not. |
webhook_actions | JSON Array | The action for which a webhook is called in your application. |
type | String | Depicts the request type of the API. Example: POST, PUT, etc. |
created_by | String | Name of the user from whose account webhook was created using API. |
url | String | The URL to which information about emails should be sent. |
authorization | JSON Object | If provided, it will be used to make the call to your application, so that you can verify whether it is coming from the right sender. ➤ auth_type - 'Username' or 'Auth Token' ➤ auth_password - Required if auth_type is 'Username' ➤ auth_username - Required if auth_type is 'Username' ➤ auth_token - Required if auth type is 'Auth Token' |
webhook_id | String | Unique ID of a webhook that can be used in APIs. |
name | String | Name of the webhook. |
custom_data | JSON Object | Additional information to be sent to your application as request data. |
custom_headers | JSON Object | Additional information to be sent to your application as request headers. |
response | JSON Object | Contains the response details of the API. |
code | Integer | Success or failure code. |
message | String | Success or failure message returned by the API. |
Sample Response - Success
Copied