Webhooks
You can now easily push certain events from Stamped.io as a POST request to external services.
In This Guide
List Of Events Covered By The Feature
- New review received
Example of Data Pushed
Headers:1) X-Stamped-Webhook-Secret 2) X-Stamped-Store-UrlBody:
{ "customerEmail": "customer@example.com", "productUrl": "https://example.store.com/", "id": 123456, "author": "Nina N.", "reviewTitle": "I love the Highs and", "reviewMessage": "I love the Highs and Lows necklace. Seamless experience during delivery. Simple, beautiful packaging. Thank you. :)", "reviewRating": 5, "reviewDate": null, "reviewUserPhotos": null, "reviewUserVideos": null, "reviewVerifiedType": 2, "reviewReply": null, "reviewReplyDate": null, "productId": 123456789, "productName": "Highs and Lows Necklace", "productSKU": null, "productImageUrl": "https://exmaple.image.jpg", "productImageLargeUrl": null, "productImageThumbnailUrl": null, "productDescription": null, "avatar": null, "location": "United States", "reviewVotesUp": 0, "reviewVotesDown": 0, "userReference": null, "dateCreated": "2019-08-14T05:02:12.34", "dateReplied": null, "reviewType": 1, "widgetType": null, "reviewOptionsList": [] }
Adding A Webhook
- Head over to Settings - Webhooks
- Click on "Add Webhook", you will see the following interface:
-
Fill up the fields accordingly
- Payload URL: Target URL to send the POST request to
- Secret: Secret API key
- Is Active: Uncheck the box to deactivate the webhook
- All events: Uncheck the box to only push specific events
- Click "Save" and the webhook will be created.