How to setup the Webhooks integration

Do you want to use Webhooks to integrate with us? Here’s how to set it up.

You’ll find the integrations page in the drop-down box in the upper right corner of the web app.

Instructions for Webhooks integration:

  • Enter the callback URL where data should post in the Webhook URL field.
  • Set a security token that will pass with each post to ensure that the data originated from us. Also, enter the value of the token that should pass.
  • Click ‘Map Fields’ and enter the parameter names you want to post to that URL. To the right of each field, select the field that contains the corresponding data.
  • You’re ready to test. Launch a test campaign, select Webhook in the settings step and submit a test entry to that campaign. This will post the data to the callback URL you provided. When you submit the campaign form, POST Data to webhook URL as a POST Variable named  “webhook_fields_array”. Inside that POST variable will be sent as an array. From here you can see the exact format of the data. Here is a sample array:

             [email] => example_email@example.com

             [prefix] => Mr.

             [firstname] => John

             [lastname] => Peter

             [address] => CA, USA

             [address2] => 

             [city] => CA

             [security_token] => success

 

Did you find this helpful?
Updated on May 19, 2023

Ninja Social's Black Friday Weekend Offer is LIVE!

You’ll never see these prices again.

Receive 2 months free AND lock in founding member pricing when you choose to pay annually.

Are you ready to make social media simple in 2024?

Days
Hours
Minutes
Seconds