POST Authenticate user and generate tokens
Login route to get authentication tokens for mobile app usage. Supports username/password and OTP authentication.
Are you an LLM? You can read better optimized documentation at /docs/api/endpoints/authentication/post-auth.md for this page in Markdown format
POST
Try it out https://api.rooom.com/authBody required
multipart/form-data| Name | Type | Description |
|---|---|---|
usernamerequiredExample: user@example.com | string | Username or email address |
passwordrequiredExample: SecurePass123! | string | User password |
otpExample: 123456 | string | One-time password for cross-app authentication |
deviceExample: iPhone 14 Pro | string | Mobile device identifier |
deviceOsExample: iOS 16.1 | string | Mobile device operating system |
Responses
200Successfully authenticated user and generated tokens
POST /auth Authenticate user and generate tokens Login route to get authentication tokens for mobile app usage. Supports username/password and OTP authentication. username Username or email address password User password otp One-time password for cross-app authentication device Mobile device identifier deviceOs Mobile device operating system