All endpoints are mounted under your chosen prefix (e.g., /api/auth).
Authentication
| Method | Path | Description |
|---|
POST | /sign-up/email | Register with email and password |
POST | /sign-in/email | Login with email and password |
POST | /sign-out | Logout |
Session
| Method | Path | Description |
|---|
GET | /get-session | Get current session |
GET | /list-sessions | List all active sessions |
POST | /revoke-session | Revoke a specific session |
POST | /revoke-other-sessions | Revoke all except current |
POST | /refresh-token | Issue new session token |
Password
| Method | Path | Description |
|---|
POST | /request-password-reset | Send reset email |
POST | /reset-password | Reset with token |
POST | /change-password | Change (authenticated) |
Email Verification
| Method | Path | Description |
|---|
POST | /send-verification-email | Send verification |
POST | /verify-email | Verify with token |
OAuth
| Method | Path | Description |
|---|
POST | /sign-in/{provider} | Initiate OAuth flow |
GET | /callback/{provider} | OAuth callback |
Account
| Method | Path | Description |
|---|
PUT | /update-user | Update profile |
GET | /list-accounts | List linked accounts |
POST | /unlink-account | Unlink account |
POST | /delete-user | Delete user |
Health
| Method | Path | Description |
|---|
GET | /ok | Health check |