In the old version of your personal account, go to the "Automation" section. Select "Webhooks".
In the new version of the control panel, the automation functionality is still under development.
Click the "Create New Webhook" button.
Enter the hook name, the URL of the site and germany phone number data handler page, and define the message type and events to pass.
The message type can be selected to include notifications about events in:
classic mailings;
single letters sent using a template;
trigger letters;
API/SMTP mailings.
Event data (facts) can be transmitted as events:
delivery (or non-delivery);
missed letters;
opening letters;
following links (clicking on buttons);
unsubscribes;
falling into the "Spam" category.
The RuSender server sends notifications to webhooks with a frequency of once every 10 minutes. The transmitted array can have a queue of up to 500 notifications (events) at once.
The generated notification will have two sections:
Meta – used to describe the hook. For example, here you can read information about the notification type, the hook identifier, and its name.
Events – the array itself with event data. Here, data about the name and status of the event, the time of its occurrence, the client's browser parameters, etc. can be transmitted (including the links the client clicked on, the email address, the code and text of the mail server's response).
Webhooks can be created and deleted via the API interface, and they can be managed via the API (get lists of active ones, change selected ones, etc.).