Create a Webhook

This API can be utilized to Create a webhook and subscribe to specific events. Upon configuration, Azuga will transmit real-time JSON data to the designated endpoint whenever the subscribed events occur.

It is essential to establish the appropriate authentication method for your service.

Body Params
string
required

Name of the webhook. Webhook name is required of length more than or equal to 3 characters

string
required

Specify the URL where you want Azuga to send the webhook data.

string
required

Azuga will send an email to this address if the specified URL becomes unreachable or fails to respond.

boolean

Specify if you want to pause this webhook. By default, the value is false. True = Paused, False = Unpause

string
required

Choose the authentication method you want to use. Valid types are: BASIC, KEY.

webHookAuthKeyValues
array of objects
required

Array of key-value pair used for authorization. For both types, update the username/key and password/value against fields - webHookAuthKeyValues & webHookEventTypes

webHookAuthKeyValues*
webHookEventTypes
array of objects
required

Array of event types. The valid event types that can be subscribed can be fetched from using 'View Events' endpoint.

webHookEventTypes*
int32
required

Number of times to retry in case of failures.

Responses

Language
Credentials
Header
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json