NotifyHub
One API. Every channel.
Unified notification library for Java and Spring Boot.
Website ·
Documentation ·
Getting Started
Stop writing different code for each notification channel. NotifyHub gives you a single fluent API to send notifications via Email, SMS, WhatsApp, Slack, Telegram, Discord, Microsoft Teams, Firebase Push, Webhooks, WebSocket, Google Chat, Twitter/X, LinkedIn, Notion, Twitch, YouTube, Instagram, SendGrid, TikTok Shop, Facebook, AWS SNS, Mailgun, PagerDuty, Kick — or any custom channel you create.
notify.to(user)
.via(EMAIL)
.fallback(SMS)
.priority(Priority.HIGH)
.subject("Order confirmed")
.template("order-confirmed")
.param("orderId", order.getId())
.attach(invoicePdf)
.send();
Why NotifyHub?
Problem Without NotifyHub With NotifyHub Email JavaMail config, MIME types, Session... .via(EMAIL)📱 SMS Twilio SDK, different API entirely .via(SMS)WhatsApp Another Twilio setup, prefix logic .via(WHATSAPP)Slack Webhook HTTP, JSON payload .via(SLACK)Telegram Bot API, HTTP client setup .via(TELEGRAM)Discord Webhook HTTP, JSON payload .via(DISCORD)👥 Teams Incoming Webhook, MessageCard JSON .via(TEAMS)Push Firebase Admin SDK, credentials... .via(PUSH)🔗 Webhook Custom HTTP, payload template .via(Channel.custom("pagerduty"))WebSocket Java WebSocket API, reconnect logic .via(WEBSOCKET)Google Chat Webhook HTTP, JSON payload .via(GOOGLE_CHAT)Twitter/X OAuth 1.0a, API v2 setup .via(TWITTER)💼 LinkedIn OAuth 2.0, REST API setup .via(LINKEDIN)Notion Integration Token, API setup .via(NOTION)Twitch OAuth 2.0, Twitch API setup .via(TWITCH)YouTube YouTube Data API v3 setup .via(YOUTUBE)Instagram Meta Graph API setup .via(INSTAGRAM)📧 SendGrid SendGrid API, webhook tracking .via(Channel.custom("sendgrid"))TikTok Shop HMAC-SHA256, Shop API .via(TIKTOK_SHOP)Facebook Graph API, Page tokens .via(FACEBOOK)☁️ AWS SNS AWS SDK, credentials, ARN .via(Channel.custom("aws-sns"))Mailgun Mailgun API, domain setup .via(Channel.custom("mailgun"))