WebHook setup

What is it and what is it for?

Webhook is a mechanism for sending notifications when a certain event occurs in the system. An event is a change in the state of the system. For example, events are: creating a new product, changing company information, deleting a service, etc. The notification will be a request to the POST method, which will contain the following information about the upcoming event: its type and a link to the changed object. For example, when changing the name of the product, a notification will be sent that will contain a link to the created product. 

Webhook itself contains a description of the changes (object type and a link to the changed object) which is sent to the specified URL. 

Setting up

1. Go to Settings - Webhook, enable sending hooks, and specify the address to which notifications will be sent. 

2. Set up what events webhooks will be sent to:

  • when changing the branch settings in the Settings - General and in the Settings - Information section (except company details tab). 
  • when creating, changing, deleting an employee
  • when creating, changing, deleting goods
  • when creating, changing, deleting a service
  • when creating, changing, deleting a service category
  • when creating, changing, deleting a client
  • when creating, changing, deleting an entry in the appointment journal
  • when creating, changing, deleting warehouse and financial operations

3. Click the Save button.

Have more questions? Submit a request

Comments