Getting Started With Webhooks

Influence webhooks can be used to connect with other online Apps

Here are the steps for generating Custom Webhook URLs for your campaigns.

Note:

  1. Your Webhook URLs are specific to a particular campaign only.
  2. Your Webhook URLs can be used in any number of applications for sending data to your campaign.

Go to your Campaign's Capture Page.

Go to the Apps tab, and then click on Webhook, and click on the Connect button.

mceclip0.png

mceclip1.png

The following window will open. Copy the Webook.

mceclip2.png


For Developers:


Data to the Webhook should be sent in a standardized JSON format. JSON body structure & required fields are;

   {

     email: ' ',
latitude: 'number',
longitude: 'number',
city: 'string',
country: 'string',
productName: ' ',
productId: ' ',
productImg: ' ',
firstname: ' ',
     lastname: ' '

  }

As an example, here is one Sample JSON data which you can "POST" on the Custom Webhook URL:

{

"email":"John@doe.com",
"firstname": "John",
"lastname": "Doe",
"city": "London",
"country": "UK"

}

Email, City & Country are the compulsory fields without which posted data may not get logged in the system, and eventually, it will not show up in your campaigns. 

If you wish to display the name of the State, please send the State name under the "region" parameter. 

You are all set now !!

Use that 'Custom Webhook Endpoint' wherever you need it.

If you're still facing any issues, then you can contact us through the support section, & we'd be more than happy to assist you with it


Powered by