Overview
The Fluxer API is a RESTful HTTP API that powers the Fluxer platform. It provides endpoints for authentication, user management, guilds, channels, messaging, and more.Authentication
Learn how to authenticate with the API
Endpoints
Browse available API endpoints
Media Proxy
Media transformation and delivery
Relay Directory
Voice relay discovery and management
Base URLs
The Fluxer API is accessible at different base URLs depending on your deployment:All API endpoints are versioned under the
/v1 prefix. Legacy endpoints without the version prefix are also supported for backward compatibility.API Versioning
The Fluxer API uses URL-based versioning. The current version isv1.
Request Format
All API requests should:- Use HTTPS in production
- Include appropriate
Content-Typeheaders - Send JSON-encoded request bodies for POST/PATCH/PUT requests
- Include authentication headers (see Authentication)
Headers
The media type of the request body
Authentication token (for authenticated endpoints)
Optional request ID for tracing (auto-generated if not provided)
Response Format
All API responses are JSON-encoded with appropriate HTTP status codes.Success Response
Error Response
Status Codes
The API uses standard HTTP status codes:The request was successful
A new resource was successfully created
The request was invalid or malformed
Authentication is required or has failed
The authenticated user does not have permission
The requested resource was not found
Rate limit exceeded
An unexpected error occurred on the server
Rate Limiting
The Fluxer API implements rate limiting to ensure fair usage and platform stability. Rate limits vary by endpoint and authentication status.Rate Limit Headers
Rate limit information is included in response headers:CORS
The API supports Cross-Origin Resource Sharing (CORS) for browser-based applications. The following origins are allowed:- Fluxer Web App (
https://app.fluxer.app) - Fluxer Marketing Site (
https://fluxer.app) - Self-hosted instances (configured via
corsOrigins)
Telemetry
The API includes telemetry endpoints for monitoring and observability:Development Mode
When running in development mode (nodeEnv: 'development'), additional endpoints and features are enabled:
- Test harness endpoints for integration testing
- Relaxed rate limits
- Detailed error messages with stack traces
Next Steps
Authentication
Set up authentication for your application
Explore Endpoints
Browse available API endpoints by category