How It Works
The Discord integration uses the Discord REST API to:- Create a DM channel with your Discord account
- Send formatted embeds with your event data
- Include color-coded categories and structured fields
Discord notifications are sent via Direct Messages (DMs) to ensure you receive alerts privately, no matter which server you’re on.
Prerequisites
Before setting up Discord notifications, you need:- A Discord account
- Your Discord User ID
Getting Your Discord User ID
Configuration
1. Add Discord ID in Account Settings
Navigate to your PingPilot dashboard:2. Test the Integration
After configuring your Discord ID, trigger a test event:Notification Format
Discord notifications are sent as embeds with the following structure:- Title: Category name with emoji (e.g., ”🔔 User-signup”)
- Description: Event description
- Color: Hex color code from your category settings
- Timestamp: ISO 8601 formatted timestamp
- Fields: Custom fields from your event data (displayed inline)
Example Discord Embed

Technical Implementation
The Discord integration is implemented using the Discord REST API v10:src/lib/discord-client.ts:1.
Troubleshooting
Not receiving Discord notifications
Not receiving Discord notifications
Check the following:
- Verify your Discord User ID is correct (20 characters max)
- Ensure you have DMs enabled from server members
- Check if you’ve blocked the PingPilot bot
- Verify your Discord privacy settings allow DMs
API returns 403 error
API returns 403 error
If you get:Your Discord ID is not configured. Add it in your account settings.
Bot can't send DM
Bot can't send DM
If the Discord API fails to create a DM:
- Check your privacy settings in Discord
- Make sure you’re not blocking DMs from server members
- Verify the User ID is correct
API Requirements
From the API handler (src/app/api/v1/event/route.ts:52):
Next Steps
Telegram Integration
Set up Telegram notifications
Email Integration
Configure email notifications