Default APIs
Signin API
It takes an email and password as input, on successful signin a new user session is created and user data is returned
Signup API
It takes and email and password as input, on successful signup a new user and user session is created and user data is returned.
Verify Email Exists API
It takes email as a GET
parameter and returns a boolean
value exists
. The value of exists
is true
if a user associated with the sent email exists, else it is false
.
Send Reset Password Email API
It takes email as an input and sends an email containing a password reset link.
Reset Password API
It takes a password and token as input. It is used to reset a password using a token generated by the send reset password email API.
Logout API
Used to revoke a user session.
Send Email Verification Email API
It is used to send an email containing an email verification link.
Verify Email API
Used to verify an email using a token generated by the send email verification email API.
Check If Email Is Verified API
It checks if the email associated with the active session is verified. It returns a boolean value isVerified
.The value of isVerified
is true
if the email is verified, else it is false
.