Source type
Discord Event Source Configuration Reference
Configure a dedicated FastHook source for signed Discord application lifecycle, entitlement, lobby, and Social SDK notifications.
Discord Event Webhooks configuration
Create a Discord Event Webhooks source, keep POST enabled, and provide the configured Application Public Key values for provider signature. FastHook uses these settings to validate each Discord delivery before it enters the routing workflow.
Source TypeDISCORD_EVENTS
Allowed methodsPOST
AuthenticationProvider signature
Credential fieldsApplication Public Key
{
"type": "DISCORD_EVENTS",
"config": {
"auth_type": "PROVIDER_SIGNATURE",
"auth": {
"provider": "DISCORD_EVENTS",
"public_key": "hex-application-public-key"
},
"allowed_http_methods": ["POST"]
}
}PING validation before event delivery
- Discord sends a signed Event Webhook PING payload with type 0.
- FastHook verifies the Ed25519 signature and returns the required empty 204 response.
- After validation succeeds, Discord sends signed event payloads with type 1; FastHook queues them and acknowledges each delivery with 204.
Discord Event Webhooks request contract
FastHook verifies the Ed25519 signature over timestamp + raw body using the Discord application public key before acknowledging or queueing the request.
Special response: Discord Event Webhook PING payloads with type 0 receive an empty 204 response. Verified event payloads are queued and also acknowledged with 204.
Discord headers
Preserve x-signature-ed25519, x-signature-timestamp when sending Discord test deliveries. FastHook evaluates this request context before accepting the payload, so missing or modified values remain visible as rejected requests instead of routed events.
x-signature-ed25519Ed25519 signature in hex.
x-signature-timestampTimestamp concatenated with the raw body before verification.
Discord setup
- In Discord Developer Portal > General Information, copy the Application Public Key into FastHook.
- In Discord Developer Portal > Webhook Events, set Webhook Events Endpoint URL to the generated FastHook Source URL.
- Enable Events in the Discord Developer Portal and subscribe only to the event families your application needs.
- Use a separate source from Discord Interactions because the two endpoint protocols assign different meanings to payload type values.
- Confirm the signed type 0 endpoint test receives an empty HTTP 204 response.
Discord routing hints
- Discord Event Webhooks route by event.type, application_id, installation context, entitlement id, lobby id, or user id.
- Keep Event Webhooks on a separate source from Interactions because payload type values have different protocol meanings.