All integrations
Telegram bot setup
Save your own Telegram bot token in your SafeOS profile. Your bot delivers alerts to your registered chats at medium severity and above. The shared server bot does not deliver these alerts.
Create your bot
- Open Telegram and message @BotFather. Send
/newbot. - Choose a display name and a username ending in
_bot. - BotFather replies with an HTTP API token — copy it.
- Keep the token private. Save it as
notificationSettings.telegramBotTokenthrough the authenticatedPATCH /api/auth/profileroute.
The API stores the token without returning it in profile responses. Clear it by saving an empty string.
Register your chat
- Search for your bot by username in Telegram and tap Start.
- Use your bot to find your chat ID, then save it with the authenticated
POST /api/notifications/telegram/registerroute aschatId. Each chat belongs to your signed-in profile. - Toggle Send Telegram alerts in Settings → Notifications.
- Confirm delivery with a monitoring alert at medium severity or above.
Reference: Telegram Bot API docs.