Expand description
HTTP handlers for the messaging bridge layer.
Routes: GET /api/messaging/status — health of all active bridges POST /api/messaging/discord/send — send a message via the Discord bridge POST /api/messaging/telegram/send — send a message via the Telegram bridge POST /api/messaging/slack/send — send a message via the Slack bridge POST /api/messaging/whatsapp/send — send a message via the WhatsApp bridge
The WhatsApp inbound webhook receiver (GET/POST /webhook/whatsapp)
is not here — it’s unauthenticated by necessity (Meta can’t supply
X-AuthKey) and lives in messaging::whatsapp::webhook, registered
directly on server/mod.rs’s top-level router alongside health, not in
this authed handler module. See server/mod.rs and
docs/specs/SPEC_MESSAGING_INTEGRATION_WHATSAPP_2026_07_07.md §8.2.
Structs§
- Discord
Send 🔒Request - POST /api/messaging/discord/send
- Embed
Field 🔒Request - Slack
Send 🔒Request - POST /api/messaging/slack/send
- Telegram
Send 🔒Request - POST /api/messaging/telegram/send
- Whats
AppSend 🔒Request - POST /api/messaging/whatsapp/send
Functions§
- handle_
discord_ 🔒send - handle_
slack_ 🔒send - handle_
status 🔒 - GET /api/messaging/status
- handle_
telegram_ 🔒send - handle_
whatsapp_ 🔒send