General API — notifications and link-click attribution tracking. Tracking fires Meta CAPI PageView, Mattermost alert, and Telegram message on every event.
GET
/api/health
health check
POST
/api/notify
send notification to Mattermost · body: { "message", "service", "level" }
POST
/api/tracking/event
track link click — fires Meta CAPI, Mattermost, Telegram · body: { "event", "domain", "short_code", "original_url", "ip", "user_agent" }
POST
/api/tracking/test
send test message to all channels and return results · auth required
POST
/api/telegram
send Telegram message directly · body: { "text" } · auth required