SpinTheMic
Pro

Interview practice question

Verifying incoming webhooks

Backend Engineering · Auth and Security · Intermediate

Your service receives webhooks from a partner. How do you verify they are genuine and not replayed?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • HMAC signature with shared secret.
  • Compute over raw body; constant-time compare.
  • Timestamp in signature; reject old.
  • Dedup by event ID.
  • HTTPS only.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics