Interactive API Documentation¶
Try it out!
This page provides interactive API documentation. You can test all endpoints directly in your browser!
Quick Start¶
- Obtain an access token: Call
/auth/registeror/auth/login - Authorize: Click the "Authorize" button below and paste your token
- Try endpoints: Click "Try it out" on any endpoint to test it
Authentication¶
Most endpoints require a JWT Bearer token. Include it in the Authorization header:
Swagger UI¶
Need Help?¶
- Authentication Guide - Detailed auth flow documentation
- Two-Factor Auth Guide - 2FA setup and verification
- Integration Examples - Code examples for common scenarios
- Error Codes - Complete error reference
Rate Limiting¶
All API endpoints are rate-limited to prevent abuse:
| Endpoint | Limit |
|---|---|
| Default | 100 requests / 15 minutes |
| Login/Register | 5 requests / 15 minutes |
| 2FA Verification | 10 requests / 15 minutes |
Exceeding the rate limit returns HTTP 429 (Too Many Requests).
Response Format¶
All responses follow this format:
Success Response¶
Error Response¶
Common HTTP Status Codes¶
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Request successful |
| 201 | Created | Resource created successfully |
| 400 | Bad Request | Validation error or invalid input |
| 401 | Unauthorized | Missing or invalid authentication token |
| 403 | Forbidden | Valid token but insufficient permissions |
| 404 | Not Found | Resource not found |
| 409 | Conflict | Resource already exists (e.g., duplicate email) |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error (check logs) |
| 503 | Service Unavailable | Service is down or unhealthy |