🔐 Authentication API Documentation

Complete API reference for user authentication, session management, and security operations

Production ReadyJWT-BasedMulti-CompanyRate LimitedSession Management
Base URL: /api/v1/auth
Auth: Public + JWT Protected
Rate Limit: 5-30/min

🚀 Quick Start

The Authentication API handles user login, registration, session management, and password operations.

1. User Registration

Create new user accounts with optional company creation or invitation tokens.

POST /api/v1/auth/register

2. User Login

Authenticate users and receive JWT tokens with comprehensive user context.

POST /api/v1/auth/login

3. Token Management

Refresh expired tokens and manage secure authentication sessions.

POST /api/v1/auth/refresh

🎯 Key Features

🔐
JWT Authentication
Secure token-based authentication with RS256
👥
Multi-Company Support
User context with multiple company associations
🔑
Session Management
Active session tracking and management
🔄
Token Refresh
Automatic token renewal and rotation
🛡️
Password Security
Reset and update operations with validation
📊
Audit Logging
Comprehensive security event tracking
Rate Limiting
Configurable limits for abuse protection
👤
User Profiles
Complete user information and preferences
Loading API Documentation...
Documentation: Complete API reference
Support: support@bitcrate.co.uk
Version: 1.0.0