Notifications: Telegram and Webhook#
PrivateFlare offers two notification methods for domain and node status changes:
- Telegram — chat notifications
- Webhook — a flexible automation tool for triggering custom logic
Webhook#
A webhook is an HTTP GET request that PrivateFlare sends to your URL when a domain or node status changes. You can implement any logic on your end: switching nodes, restarting services, or updating DNS records.
Examples#
For domains:
http://yourwebhook.url?status={status}&domain={domain}{status}— current status (online/offline){domain}— domain name
For nodes:
http://yourwebhook.url?status={status}&nodename={nodename}&nodeip={nodeip}{status}— current status (online/offline){nodename}— node name{nodeip}— node IP address
Telegram#
To receive Telegram notifications:
- Start the PrivateFlare Telegram bot
- Note your chat ID
- For group chats, add the bot and send
/start - In the user settings in the dashboard:
- Enable Telegram notifications
- Enter your chat ID (multiple IDs separated by commas)
- Save the settings
Notifications will be sent automatically.