What is Discord Webhook Signature Verifier?
The Discord Webhook Signature Verifier validates Ed25519 cryptographic signatures (X-Signature-Ed25519 and X-Signature-Timestamp) for Discord Interactions and Webhooks.
Test Ed25519 signature verification code for Node.js, Python, or Go serverless endpoints receiving Discord HTTP interaction events.
Discord Interaction Verification Data
Ed25519 Signed Payload String
1788586324{"type":1}
Node.js Express / Next.js Verification Code Snippet
import { verifyKey } from 'discord-interactions';
const signature = req.headers['x-signature-ed25519'];
const timestamp = req.headers['x-signature-timestamp'];
const isValidRequest = verifyKey(
rawBody,
signature,
timestamp,
'YOUR_BOT_PUBLIC_KEY'
);Frequently Asked Questions
Why does Discord require Ed25519 signature verification?
Discord requires HTTP interaction endpoints to verify Ed25519 signatures to ensure requests genuinely originate from Discord.
What headers are required for interaction verification?
Endpoints must verify X-Signature-Ed25519 and X-Signature-Timestamp against your bot public key.
What HTTP status should be returned for invalid signatures?
Return HTTP status code 401 Unauthorized for invalid signatures.
How to use Discord Webhook Signature Verifier
To test Webhook signatures:
- Enter Bot Public Key, Signature Header, Timestamp Header, and Request Body.
- Click Verify Signature to validate Ed25519 cryptographic authenticity.
- View code verification snippets for Node.js and Python.

