Endpoints
Sign Up
Create a new user account with organization.POST /api/auth/signup
Request Body:
Response:
Login
Authenticate a user and receive an access token.POST /api/auth/login
Request Body:
Response:
Sign Up via Invitation
Register a new user account through an invitation.POST /api/auth/signup_invite
Request Body:
Response:
Error Responses
Authentication
Most endpoints in this service do not require authentication, as they are used for the authentication process itself. The exceptions are:- Password reset endpoints may require a valid reset token
- Account management endpoints may require a valid JWT token
Implementation Notes
- Passwords are securely hashed using SHA-256
- JWT tokens have a configurable expiration time
- Failed login attempts are rate-limited to prevent brute force attacks