Example output of the webhooks

In this article, you can see an example of the output of the webhooks. For more information on how to create an outgoing webhook, please take a look at this article: How do I create an outgoing webhook?

Example of an outgoing JSON webhook

{ "_event": { "type": "feedback.created", "created": 173***3638 }, "feedback": { "_type": "object", "_data": { "id": 678*, "uuid": null, "project_id": 3*, "created": "2024-11-07", "survey_id": 4*, "active": true, "anonymised": 0, "str_project_id": null, "user_id": 0, "scores_object": "{\"59\": \"0\", \"60\": \"2\", \"61\": \"3\"}", "survey_name": "All elements GA4", "project_name": "Integrations", "fields": { "_type": "list", "_data": [ { "label": "How likely is it that you will recommend us to family and friends?", "value": "0", "key": "4.nps.***108f6" }, { "label": "What grade would you give us?", "value": "2", "key": "4.rating.***72fd4" }, { "label": "How many stars would you give us?", "value": "3", "key": "4.rating.***a31db" }, { "label": "Bar rating?", "value": "3", "key": "4.rating.***05451" }, { "label": "Which emoji represents your mood?", "value": "4", "key": "4.rating.***68005" }, { "label": "How much effort did it take you to achieve your goal?", "value": "4", "key": "4.ces.***c8bc6" }, { "label": "Did you achieve your goal?", "value": "no", "key": "4.gcr.***89835" }, { "label": "Thumbs up or down?", "value": "negative", "key": "4.thumbs.***ce375" }, { "label": "User Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "key": "User Agent" }, { "label": "url", "value": "https://sample.mopinion.com/integrations/", "key": "url" }, { "label": "Survey", "value": "All elements GA4", "key": "Survey" }, { "label": "Viewport", "value": "1376x817", "key": "Viewport" }, { "label": "Form trigger", "value": "passive", "key": "Form trigger" }, { "label": "Form completion percentage", "value": "57", "key": "Form completion percentage" }, { "label": "Survey ID", "value": "173099*****t75b5zmx7", "key": "Survey ID" }, { "label": "Datetime", "value": "2024-11-07 16:39:08", "key": "Datetime" }, { "label": "What is your favorite color?", "value": "Red", "key": "4.radio.***1bbdd" }, { "label": "Sushi", "value": "true", "key": "4.Which_food_do_you_like_.1.***44854" }, { "label": "What is your favorite animal?", "value": "Bear", "key": "4.select.***69ec8" }, { "label": "Select a topic", "value": "Suggestion", "key": "4.category.***c8a75" }, { "label": "Add a comment", "value": "Open comment", "key": "4.textarea.***32c40" }, { "label": "Add a small comment", "value": "Single line", "key": "4.input.***83a1c" }, { "label": "Add a comment Original text", "value": "Open commentaar", "key": "4.original_text.***32c40" }, { "label": "Add a small comment Original text", "value": "Single line", "key": "4.original_text.***83a1c" }, { "label": "OS", "value": "Windows 10", "key": "OS" }, { "label": "Browser", "value": "Chrome 130.0.0", "key": "browser" }, { "label": "Device", "value": "Desktop", "key": "Device" }, { "label": "firstname", "value": "Peter", "key": "4.firstname.***9d2b1" }, { "label": "lastname", "value": "Peterson", "key": "4.lastname.***e91f4" }, { "label": "email", "value": "pieter@sample.com", "key": "4.email.***dc00a" }, { "label": "phone", "value": "0612345678", "key": "4.phone.***15506" }, { "label": "phone2", "value": "0101234567", "key": "4.phone2.***dfa2e" } ] } } } }

Additional feedback item for the same form, with different answers:

{ "_event": { "type": "feedback.created", "created": 173***3728 }, "feedback": { "_type": "object", "_data": { "id": 679*, "uuid": null, "project_id": 3*, "created": "2024-11-07", "survey_id": 4*, "active": true, "anonymised": 0, "str_project_id": null, "user_id": 0, "scores_object": "{\"59\": \"10\", \"60\": \"9\", \"61\": \"8\"}", "survey_name": "All elements GA4", "project_name": "Integrations", "fields": { "_type": "list", "_data": [ { "label": "How likely is it that you will recommend us to family and friends?", "value": "10", "key": "4.nps.***108f6" }, { "label": "What grade would you give us?", "value": "9", "key": "4.rating.***72fd4" }, { "label": "How many stars would you give us?", "value": "8", "key": "4.rating.***a31db" }, { "label": "Bar rating?", "value": "3", "key": "4.rating.***05451" }, { "label": "Which emoji represents your mood?", "value": "2", "key": "4.rating.***68005" }, { "label": "How much effort did it take you to achieve your goal?", "value": "1", "key": "4.ces.***c8bc6" }, { "label": "Did you achieve your goal?", "value": "yes", "key": "4.gcr.***89835" }, { "label": "Thumbs up or down?", "value": "negative", "key": "4.thumbs.***ce375" }, { "label": "User Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "key": "User Agent" }, { "label": "url", "value": "https://sample.mopinion.com/integrations", "key": "url" }, { "label": "Page title", "value": "Integrations – Home", "key": "Page title" }, { "label": "Survey", "value": "All elements GA4", "key": "Survey" }, { "label": "Viewport", "value": "1920x945", "key": "Viewport" }, { "label": "Form trigger", "value": "passive", "key": "Form trigger" }, { "label": "Form completion percentage", "value": "29", "key": "Form completion percentage" }, { "label": "Survey ID", "value": "173099*****657s1gracphn", "key": "Survey ID" }, { "label": "Datetime", "value": "2024-11-07 16:59:20", "key": "Datetime" }, { "label": "What is your favorite color?", "value": "Another color", "key": "4.radio.***1bbdd" }, { "label": "Another color", "value": "Yellow", "key": "4.RADIO_EXTRA.input.***a624e" }, { "label": "Sushi", "value": "true", "key": "4.Which_food_do_you_like_.1.***44854" }, { "label": "Pizza", "value": "true", "key": "4.Which_food_do_you_like_.2.***cb61c" }, { "label": "Carrots", "value": "true", "key": "4.Which_food_do_you_like_.3.***05512" }, { "label": "Other food", "value": "true", "key": "4.CHECKBOX_EXTRA.option.***7ef3a" }, { "label": "Please specify the food type", "value": "Ice cream", "key": "4.CHECKBOX_EXTRA.input.***f81ee" }, { "label": "What is your favorite animal?", "value": "Lion", "key": "4.select.***69ec8" }, { "label": "Select a topic", "value": "Bug", "key": "4.category.***c8a75" }, { "label": "OS", "value": "Windows 10", "key": "OS" }, { "label": "Browser", "value": "Chrome 130.0.0", "key": "browser" }, { "label": "Device", "value": "Desktop", "key": "Device" } ] } } } }