Login & Register
Login with email
This API enables users to authenticate into the system using their email address. It provides a secure way for users to Login by verifying their identity through a one-time password (OTP) sent to their email address.
POST
/
auth
/
login
/
email
Authorizations
Authorization
string
headerrequiredAccess token
Body
application/json
email
string
requiredUser's email address.
register_if_not_exists
boolean
This is used to send OTP to unregistered phone. By default it sends OTP to registered phone only. To send OTP to unregistered phone it should be pass with true value like this, "register_if_not_exists": true
Response
200 - application/json
message
string
A descriptive message confirming the success or failure of the Login process.
success
boolean
Indicates whether the request was successful or failure (true for success, false for failure).
content
object
An object containing the response content.