| Mode | Purpose |
|---|---|
0 | Email or mobile number change |
1 | Password change |
2 | Delete account |
3 | Clear account |
4 | Signup Verification |
5 | Using OTP for Login |
6 | OTP for forgot password |
4 – Signup Verificationmode)Authorization: Bearer <access_token>Sends a one-time validation code for secure account and authentication operations, including login via email or mobile number.
curl --location --request POST 'https://appfloor.in/auth-service/send/validation/code' \
--header 'Authorization: Bearer <token>' \
--form 'user_id=""' \
--form 'mobile_number=""' \
--form 'mode=""' \
--form 'email_id=""' \
--form 'app_id=""'"error": {
"code": "XF_VALIDATION_ERROR",
"message": "Invalid parameter: Invalid mode",
"path": "/auth-service/send/validation/code",
"timestamp": "2026-01-12T08:11:59.993079561Z"
}