Overview
PingPilotβs event monitoring system allows you to track critical events in your applications and receive instant notifications across multiple channels. Events are validated, categorized, and delivered to Discord, Telegram, Email, and WhatsApp.How It Works
The event flow follows this path:- POST Request - Send event data to
/api/v1/event - Authentication - API key validation via Bearer token
- Validation - Request body and category verification
- Quota Check - Ensure you havenβt exceeded monthly limits
- Notification Delivery - Multi-channel message dispatch
- Status Tracking - Event marked as DELIVERED or FAILED
Events are tracked with delivery status:
PENDING, DELIVERED, or FAILED. This helps you monitor notification reliability.Sending Events
To send an event to PingPilot, make a POST request to the event endpoint:Request Structure
The event API accepts the following fields:The name of an existing event category. Category must be created in your dashboard first.
Human-readable description of what happened. If omitted, defaults to βA new event has occurred!β
Custom key-value pairs with event details. Supports strings, numbers, and booleans.
Authentication Requirements
Before sending events, ensure your account is properly configured:Quota Limits
Event monitoring enforces monthly quotas based on your plan:| Plan | Monthly Events |
|---|---|
| Free | Limited quota |
| Pro | Expanded quota |
| Enterprise | Maximum quota |
Response Format
Success Response (200)
Error Responses
401 Unauthorized - Invalid or missing API key:Event Formatting
When an event is received, PingPilot formats it for delivery:- Title:
{emoji} {CategoryName}(capitalized, with category emoji) - Description: Your custom description or default message
- Color: The hex color assigned to the category
- Timestamp: ISO 8601 format
- Fields: Custom fields displayed as key-value pairs
Delivery Channels
Events are automatically sent to all configured channels:Discord
Sent as an embedded message to your Discord DM. The embed includes the category color, title, description, and all custom fields displayed inline.Telegram
Formatted text message sent to your Telegram account with emoji indicators and structured field layout.All channels are attempted simultaneously. If one fails, others may still succeed. Check delivery status in your dashboard.
Next Steps
Event Categories
Create and manage categories for organizing events
Analytics Dashboard
View event history and track delivery metrics