Juman Project
  1. Auth
Juman Project
  • Auth
    • register
      POST
    • login
      POST
    • forgot-password
      POST
    • reset-password
      POST
    • logout
      POST
  • Events
    • user register to event
      POST
    • get all events
      GET
    • get single event
      GET
    • create event
      POST
    • update event
      PUT
    • delete event
      DELETE
  • Courses
    • recorded course
      • create recorded course
      • get all recorded courses
      • get single recorded course
      • delete recorded course
      • update recorded course
      • book a recorded course
      • verify payment
    • in person course
      • create in-person courses
      • get all in-person courses
      • get single in-person course
      • delete in-person course
      • update in-person course
      • book an in-person course
      • verify payment
    • get all courses
      GET
    • get single course
      GET
    • update course
      PUT
  • Consultations
    • create consultation
      POST
    • book a consultation
      POST
    • verify payment
      GET
    • all payments
      GET
    • payments history (for single user)
      GET
    • Get Available Consultations
      GET
  • Users
    • get user
      GET
    • me
      GET
    • update user
      PUT
    • update user password
      PUT
    • get all users
      GET
    • delete user
      DELETE
    • get user content
      GET
  • Contact
    • contact form
  • FAQs
    • get all faqs (admin)
    • get all faqs (users)
    • create faq
    • update faq
    • delete faq
    • toggle status
  • Podcasts
    • get all podcasts
    • create podcast
    • update podcast
    • delete podcast
    • get all podcasts (admin)
    • get single podcast
    • get single podcast
  1. Auth

forgot-password

POST
/api/auth/forgot-password

Forgot Password#

This endpoint is used to initiate the process of resetting the user's password by sending a reset link to the provided email address.

Request Body#

email (string, required): The email address for which the password reset link will be sent.

Response#

status (string): The status of the request, which can be used to determine if the password reset link was sent successfully.
message (string): A message providing additional information about the status of the request.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/auth/forgot-password' \
--header 'Content-Type: application/json' \
--data-raw '{
  "email": "abdullatif.jarkas1@gmail.com"
}'
Response Response Example
{
    "status": "success",
    "message": "OTP sent to email"
}

Request

Body Params application/json

Examples

Responses

🟢200forgot-password
application/json
Body

Modified at 2025-08-09 19:12:59
Previous
login
Next
reset-password
Built with