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

  1. Open Telegram and message @BotFather. Send /newbot.
  2. Choose a display name and a username ending in _bot.
  3. BotFather replies with an HTTP API token — copy it.
  4. Keep the token private. Save it as notificationSettings.telegramBotToken through the authenticated PATCH /api/auth/profile route.

The API stores the token without returning it in profile responses. Clear it by saving an empty string.

Register your chat

  1. Search for your bot by username in Telegram and tap Start.
  2. Use your bot to find your chat ID, then save it with the authenticated POST /api/notifications/telegram/register route as chatId. Each chat belongs to your signed-in profile.
  3. Toggle Send Telegram alerts in Settings → Notifications.
  4. Confirm delivery with a monitoring alert at medium severity or above.

Reference: Telegram Bot API docs.