Send one-time password code to user’s phone for two-factor authentication
POST /v1/auth/login
isOtpRequired: true
b6b9168c-bb56-4c6a-9c0d-4650ea74f5f9
{ "success": true }
curl -X POST "https://dev.api.baanx.com/v1/auth/login/otp" \ -H "x-client-key: your-client-key" \ -H "Content-Type: application/json" \ -d '{"userId": "b6b9168c-bb56-4c6a-9c0d-4650ea74f5f9"}'
Was this page helpful?