Webhooks are a powerful feature used in modern web development to enable different software systems to communicate with each other in real-time. They are essentially automated messages sent from one application to another when something happens in the sending application.
Campaign webhooks are made up of two parts. The path
and the parameters
.
The path for a webhook is provided on the campaign edit and properties screen, and will appear similar to this:
https://webhook.tangilla.com/communication/v1/webhook/2d16f000-2e88-11eb-bad9-b9b3e219c230
The path for each campagin is unique, it's important to make sure you are using the correct one.
To construct a webhook you will need to pass one of the following types
and a corresponding value
as a query string.
person_id
member_nrds_id
email
Examples are shown below.
on success:
http status :200
{
"status": "OK"
}