Answer
Verify the signature (an HMAC of the body with a shared secret) and reject old timestamps to block replays. Answer 2xx quickly and do the work from a queue. Deduplicate by event id, because senders retry and deliver at least once.
API design · Flashcard
Verify the signature (an HMAC of the body with a shared secret) and reject old timestamps to block replays. Answer 2xx quickly and do the work from a queue. Deduplicate by event id, because senders retry and deliver at least once.