Example output of the webhooks and the API

In this article, you can see an example of the output of the webhooks and the API. We used Pipedream to create an endpoint for our test. For more information on how to create an outgoing webhook, please take a look at this article: https://mopinion.atlassian.net/wiki/spaces/KB/pages/272400400

Example of an outgoing JSON webhook

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 { "body": { "_event": { "type": "feedback.created", "created": 1606898800 }, "feedback": { "_type": "object", "_data": { "id": 3759277, "project_id": 1329, "created": "2020-12-02", "survey_id": 15479, "active": true, "anonymised": 0, "fields": { "_type": "list", "_data": [ { "label": "RATING0", "value": "1" }, { "label": "TEXTAREA1", "value": "gfhfgh" }, { "label": "RADIO2", "value": "radio 1" }, { "label": "check 2", "value": "true" }, { "label": "User Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0" }, { "label": "url", "value": "https://app.mopinion.com/survey/manage/preview/8ad09e3a04b8d1f7e3109a0be590daf9f660eac9" }, { "label": "Page title", "value": "Survey Preview" }, { "label": "Survey", "value": "Difference API Webhook" }, { "label": "Viewport", "value": "1280x551" }, { "label": "Form trigger", "value": "passive" }, { "label": "Form completion percentage", "value": "100" }, { "label": "Survey ID", "value": "dd41gql41f" }, { "label": "Datetime", "value": "2020-12-02 16:55:17" }, { "label": "OS", "value": "Windows 10" }, { "label": "Browser", "value": "Firefox 83.0" } ] }, "customer": { "_type": "object", "_data": { "firstname": "gf", "lastname": "dfg", "email": "dfg@gmail.com", "phone": "1478900987654" } } } } } }