Webhook Integration
Silver Plan
A webhook is a simple way to send data automatically to another website or app when an event occurs.
Submissions Received Webhook
1. Add Webhook
To add a webhook go to your dashboard > website > form > integrations tab > select "Add Integration" > select "Kwes Webhooks" > and "submissions received".
2. Complete the following fields
Field |
Values |
Name |
Add a descriptive name to this webhook. |
Mode |
There are 3 modes your webhook can have.
- Live: Changes value of "kwes_webhook_mode" to "Live" on the request body.
- Test: Changes value of "kwes_webhook_mode" to "Test" on the request body.
- Off: Disables the webhook.
|
Webhook URL |
The URL where you want your submission data to go to. |
Content-type |
Content is sent in JSON format. |
Error emails |
The email address where you would like to receive an alert if an error occurs with the webhook. |
Sample JSON Request From Webhook
{
"__kwes_webhook_mode": "Live",
"__mode": "production",
"field1": "Optio minim omnis a",
"field2": "jixuhakad@mailinator.net",
"field3": "+1 (133) 277-6592",
"field4": "Tiger"
}
Request with Repeater Fields
{
"payload":{
"__kwes_webhook_mode":"Test",
"__mode":"development",
"attendee_info":[
{
"name[0]":"Erica Hurst",
"email[0]":"erika@gmail.com",
"phonel[0]":"5555555555"
},
{
"name[1]":"Amena William",
"email[1]":"amena@gmail.com",
"phonel[1]":"5555555555"
},
{
"name[2]":"Rhonda Marks",
"email[2]":"rhonda@gmail.com",
"phonel[2]":"5555555555"
}
]
}
}