LaundryAPI
  1. Authentication
LaundryAPI
  • Authentication
    • Signup
      POST
    • Resend Verification Code
      POST
    • Verify phone number
      POST
    • Login
      POST
    • Refresh Token
      GET
    • Forgot Password
      POST
    • Reset Password
      PATCH
    • Update Password
      PATCH
    • Logout
      POST
  • Users
    • Get Me
      GET
    • Update Me
      PATCH
    • Delete Me
      DELETE
    • Get All Users
      GET
    • Update User
      PATCH
    • Delete User
      DELETE
    • Create Delivery
      POST
    • Create Admin
      POST
  • Items
    • Get all items
      GET
    • Get Single item
      GET
    • Create item
      POST
    • Update item
      PATCH
    • Delete item
      DELETE
  • Orders
    • Get all orders
      GET
    • Single Order
      GET
    • Create Order
      POST
    • Delete order
      DELETE
    • Update Order
      PATCH
  • Branches
    • All Branches
    • Single Branch
    • branch's orders
    • Nearest Branches
    • Create Branch
    • update branch
    • Delete branch
  • Notifications
    • All Notifications
    • Create notification
    • Delete Notification
  • Banners
    • All Banners
    • Create Banner
    • Delete Banners
  • WhatsApp
    • initialize whatsapp Session
  1. Authentication

Forgot Password

POST
http://82.180.154.188:4352/auth/forgotpassword
Last modified:2025-04-05 16:03:51
This endpoint allows users to initiate the password reset process. If a user forgets their password, they can provide their registered email address, and a verification code will be sent to that email. This code can then be used to reset the password.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://82.180.154.188:4352/auth/forgotpassword' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "Mostafa@gmail.com"
}'
Response Response Example
{
    "status": "success",
    "message": "Code has been sent to your email."
}

Request

Body Params application/json
email
string 
required
Examples

Responses

🟢200Forgot Password
application/json
Body
status
string 
required
message
string 
required
Previous
Refresh Token
Next
Reset Password
Built with