Riddle’s quiz leaderboard feature is a powerful way to engage your audience. But you need to be aware of mischievous users who might want to alter the results with some scripts.

(We support quiz leaderboards using our WordPress plug-in or using PHP for use on any site.)

Fortunately – we’ve got you covered.

Quiz webhook signatures – use case

Just imagine the following scenario:

  • You run a quiz leaderboard on your site and you want to make sure that only entries from the official riddle.com servers can be sent to your leaderboard.
  • We’ve got you covered – you can use our nifty webhook signatures to secure your leaderboard.
  • With these signatures you can be sure that the data’s origin is riddle.com + the data was not tampered with.
  • Without validation tech-savvy users could simply change the data that’s being sent to your site and could change their results that way.

How to add webhook signatures

This is now possible with our new secret webhook signatures key – which can be found under Account > Signature.

To help you getting started we’ve created the following snippet – please make sure to replace the key below with your generated secret signature key.

Feel free to implement this kind of validation with any other programming language.

Any questions about webhook signatures?

If you run into any problems, feel free to ask us using support chat (we’re lightning fast to reply) or email (hello@riddle.com).

Seriously, we’ve been big quiz (and customer support geeks) since 2014 – we all love to help.

Leave a Comment

Scroll to Top