Skip to content

POST Authenticate user and generate tokens

Login route to get authentication tokens for mobile app usage. Supports username/password and OTP authentication.

POSThttps://api.rooom.com/auth
Try it out

Body required

multipart/form-data
NameTypeDescription
usernamerequired
Example: user@example.com
stringUsername or email address
passwordrequired
Example: SecurePass123!
stringUser password
otp
Example: 123456
stringOne-time password for cross-app authentication
device
Example: iPhone 14 Pro
stringMobile device identifier
deviceOs
Example: iOS 16.1
stringMobile 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