Webhook signatures

Quiz leaderboards are powerful ways to engage your audience. But you need to be aware of mischievous users who might want to alter the results with some scripts.

Fortunately – we’ve got you covered.

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.

This is now possible with our new secret signature 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.

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).