Welcome to the official documentation for the Authentication API! This guide provides a comprehensive overview of the available endpoints and functionalities.
- Users
- User Name
- User Registration
- Login with Email
- Login with Username
- Login with Phone Number
- Change Password
- Change Username or Number
- User Image
- Verify User
- Forgot Password
- Reset Password
- Endpoint:
{{baseUrl}}/api/User/Users
- Description: Retrieve a list of users.
- Method:
GET
- Endpoint:
{{baseUrl}}/api/User/UserName?username=<string>
- Description: Retrieve the username for a specific user.
- Method:
GET
- Endpoint:
{{baseUrl}}/api/User/register
- Description: Register a new user.
- Method:
POST
- Endpoint:
{{baseUrl}}/api/User/loginWithEmail
- Description: User login using email.
- Method:
POST
- Endpoint:
{{baseUrl}}/api/User/loginWithUserName
- Description: User login using username.
- Method:
POST
- Endpoint:
{{baseUrl}}/api/User/loginWithPhoneNumber
- Description: User login using phone number.
- Method:
POST
- Endpoint:
{{baseUrl}}/api/User/Change-password?newpassword=<string>&oldpassword=<string>
- Description: Change the user's password.
- Method:
PUT
- Endpoint:
{{baseUrl}}/api/User/Change-usernameornumber
- Description: Change the user's username or phone number.
- Method:
PUT
- Endpoint:
{{baseUrl}}/api/User/userimage
- Description: Retrieve the user's image.
- Method:
GET
- Endpoint:
{{baseUrl}}/api/User/verify?token=<string>
- Description: Verify a user using a token.
- Method:
GET
- Endpoint:
{{baseUrl}}/api/User/Forgot-password?email=<string>
- Description: Initiate the forgot password process.
- Method:
POST
- Endpoint:
{{baseUrl}}/api/User/Reset-password
- Description: Reset the user's password.
- Method:
POST