alerts
Email + push setup
Wire alert delivery channels — email, push, Discord webhook, OS notification.
Alerts fire to one or more channels. Configure them once in Profile → Notifications, then per-alert pick which channels to use.
Channels
Desktop notification → always available; OS-native banner
Email → requires verified email; Pro: 50/day cap
Push (mobile) → requires Spectra mobile app + signed-in account
Webhook → any URL; HMAC-signed by Spectra
Discord → shortcut to a Discord webhook with formatted body
Email setup
Profile → Notifications → Email → enter address → click verify in your inbox. We retry verification deliveries for 24 hours; after that the slot is freed. Free tier: no email channel. Pro: 50/day. Enterprise: unlimited.
Push setup
Install the Spectra mobile app (TestFlight / Play Store closed beta as of v0.6.x) and sign in with the same account. Push delivery is end-to-end encrypted — the alert body is encrypted with your account key before leaving the cloud worker.
Webhook setup
URL → https://your-server.example/spectra
Secret → AES-GCM sealed; never readable from the desktop
HMAC header → X-Spectra-Signature: sha256=<hex>
Replay → request fails if Spectra-Timestamp is > 5 min old
See Webhooks → Signing for verification on your side. Webhook URLs can be IP-allowlisted at the worker.
Discord shortcut
Discord webhooks accept JSON with a specific shape. Spectra has a
preset that formats the alert as a clean embed (symbol, timeframe,
expression, link to the chart). Pick Discord instead of Webhook
to use it.
Order of fallbacks
If a channel fails (email bounce, webhook 5xx) Spectra tries the next one in priority order. Adjust priority in Profile → Notifications → Channel order.