/API / The Script Notification When Subscribing for Your Newsletters
To integrate with other services and applications, we recommend setting up integration via Zapier.
You will be able to transfer data between services without the help of programmers.
Learn more about Integration with Zapier.
You can activate the system notification for when a customer subscribes to newsletters.
Enter the address of your script in the API settings in the URL for API Notifications field. This is where our service will send notifications to.
Notifications are sent in the URL-encoded POST format as follows:
array ( 'name' => contact name 'email' => contact email 'phone' => contact telephone number 'city' => city of contact residence 'id_group' => contact group number 'ip' => subscriber IP 'status' => status (2 - subscription, 1- subscription activation) 'utm' => array ( 'medium' => channel utm-parameter 'source' => source utm-parameter 'campaign' => campaign utm-parameter 'content' => advertisement utm-parameter 'term' => key utm-parameter), )
Notifications come after the subscription and activation. The received data differs only in “status” parameter. It is “2” after the subscription and “1” after the activation.