Getting started with Webhooks

Influence Webhooks can help you in smooth integrations of numerous web applications.

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

Following window will open. Copy the Webook endpoint.

mceclip2.png

You can use that Webhook endpoint anywhere you like & post data on it.


For Developers:


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

   {

    email:   ' ',
     latitude:   '
number',
     longitude:   '
number',
     city:   '
string',
     region:   '
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" : "Dallas",
"region" : "Texas"
"country" :  "US"

}

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 also wish to display the name of the State, then 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