Webhooks

Want to send your quiz leads and responses automatically to your favorite marketing software or data warehouse? Our webhook will send the quiz data to your system – for each person who completes your included lead generation form. Riddle has a wide range of native integrations – including Mailchimp, ActiveCampaign, Google Sheets, and more. But …

Webhooks Read More ยป

Ad refresh outside Riddle

This example shows you how to refresh ad units on your page when the Riddle advances to the next question. Make sure to alter the script by inserting the ID of the DIVs containing your ads. function onMessage(event) { if (event.data && event.data.riddleEvent) { var riddleData = event.data.riddleEvent; if (‘object’ === typeof (riddleData)) { // …

Ad refresh outside Riddle Read More ยป

(Deprecated) Get team list

November 8, 2019 – We’ve deprecated this API version. Please upgrade to our much snazzier v2 (view more info here). Request Method GET Path /api/creators/team/get-list Example https://www.riddle.com/api/creators/team/get-list?token=<your-token> Params Response Type JSON Example [{ id: 1, title: “Team Riddle” }, { id: 42, title: “Team 42” }]

(Deprecated) Get riddle embed code

November 8, 2019 – We’ve deprecated this API version. Please upgrade to our much snazzier v2 (view more info here). Request Method GET Path /api/creators/riddle/get-embed-code Example https://www.riddle.com/api/creators/riddle/get-embed-code?token=<your-token>&riddleId=123 Params Response Type STRING

(Deprecated) Get riddle list

November 8, 2019 – We’ve deprecated this API version. Please upgrade to our much snazzier v2 (view more info here). Request Method GET Path /api/creators/riddle/get-list Example https://www.riddle.com/api/creators/riddle/get-list?token=<your-token>&type=quiz Params Response Type JSON Example [{ items: [ [ id: 42, title: “My awesome Quiz”, type: “quiz”, thumb: “https://…” ] ], page: 1 }]