Create a Hook

The following parameters can be passed for the creation of a hook :-

name - string - Required. The name of the template that is being called. (See /hooks/template for the list of valid hook names.)

isActive - boolean - Determines whether the hook is actually triggered.

events - array - Determines what events the hook is triggered for.

config - hash - Required. Key/value pairs to provide settings for this hook. These settings vary between the templates.

templateId - Optional. The UGD template ID associated with the same entity (client or loan).

Click Try It! to start a request and see the response here!