To sign in to an existing BidAuc account, first request an OTP for your phone number usingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/harshalw2003/BidAuc/llms.txt
Use this file to discover all available pages before exploring further.
POST /user/generateOtp, then submit that OTP here along with your phone number. The server validates the OTP, locates your account, and issues a fresh JWT stored in an httpOnly cookie for the duration of your session.
Endpoint
Request body
The 10-digit phone number associated with your BidAuc account.
The one-time password sent to the phone number. In development this is always
"123456".Example request
Response
Success — 200 OK
true when the user was authenticated without errors.Confirmation that the login succeeded.
Newly issued JWT for this session. Also written to the
token cookie.Errors
User not found400 Bad Request
The server writes the JWT to an
httpOnly cookie named token. Browsers include this cookie automatically on all subsequent requests to the same origin. When using curl, save the cookie with -c cookies.txt and replay it with -b cookies.txt on authenticated requests.