Developer Overview
Magne provides a comprehensive set of APIs for building integrations:| API | Protocol | Use Case |
|---|---|---|
| REST API | HTTPS | CRUD operations on all resources (servers, channels, messages, users) |
| WebSocket | WSS | Real-time events (messages, presence, typing indicators, voice states) |
| Webhooks | HTTPS (outbound) | Send messages to channels from external services |
| Bot Service | REST + WS | Interactive bots with commands and music playback |
Base URL
All REST API endpoints are served from:/v1/ prefix for versioning.
Authentication
Most endpoints require a Bearer token in theAuthorization header: