http://localhost:8000/api/v1
Send One-Time Password for registration or password change
purpose
Purpose of OTP (register or forgot-password)
code
email
OTP sent successfully
data
errors
info
request_id
Verify One-Time Password for registration or password change
OTP verified successfully
Authenticate user and return access and refresh tokens
password
worker_code
Login successful, returns access token and roles
access_token
roles
Invalidate the refresh token and log out the user
Logout successful
Use a refresh token to obtain a new access token
Token refreshed successfully
Register a new user with email, password, and other details
User registered successfully
Allows a user to reset their password after verifying OTP
Password updated successfully