Skip to Content

Configuration

Copy .env.example to .env.

Service

VariableDefaultDescription
PORT3010HTTP port
DATABASE_URLfile:./data/notifications.dbSQLite path (file: prefix stripped for TypeORM)
NOTIFICATIONS_ENABLEDtrueMaster on/off switch
NOTIFICATION_API_KEYOptional API key; unset = no auth

Recipients (comma-separated)

VariableUsed by
NOTIFICATION_PHONESSMS, WHATSAPP
NOTIFICATION_EMAILSEMAIL
NOTIFICATION_TELEGRAM_CHAT_IDSTELEGRAM

Channel credentials

VariableChannel / notes
TG_BOT_TOKENTelegram
RESEND_API_KEYEmail
NOTIFICATION_FROM_EMAILEmail from address (sample: Notifications <onboarding@resend.dev>)
PINDO_API_URLSMS (sample: https://api.pindo.io/v1/sms/)
PINDO_TOKENSMS
PINDO_SENDER_IDSMS (sample: Notifications)
WHATSAPP_ACCESS_TOKENWhatsApp
WHATSAPP_PHONE_NUMBER_IDWhatsApp
WHATSAPP_API_VERSIONWhatsApp (sample: v21.0)
WHATSAPP_VERIFY_TOKENWhatsApp webhook verify
WHATSAPP_APP_SECRETWhatsApp
Last updated on