auth
Authenticate and obtain a JWT
Returns a JWT on success. If the account has 2FA enabled the response contains { requires2FA: true, userId } instead; complete login via POST /auth/login/2fa.
post/auth/login
Request
- Base URL: https://api.onplana.com/api
- URL: https://api.onplana.com/api/auth/login
- Auth: none required
Request body
Response
Login successful. Body is either { token, user, organizations } or { requires2FA: true, userId } when 2FA is active.
Changes
No recorded changes to this operation across all 1 revision of this API.