Skip to main content

Reset Password Request

When a user requests to reset their password, an email is sent to them containing a unique reset password link. Clicking on this link will direct them to a page where they can securely set a new password for their account. This process ensures that only the legitimate account holder can change the password, maintaining the security of their information. The reset password link has a limited time validity, so it’s crucial for users to complete the password reset within the given time frame to avoid needing to request a new link.

Endpoint

To resend the email verification link to the user, make a POST request to the following endpoint:

https://api.betatel.com/api/auth/reset-password/resend

Request Headers

The request must include an Authorization header with a valid JWT token for authentication:

HeaderValueRequiredDescription
Authorization{{access_token}}YesThe authentication token to verify the user's identity

Request Body

Your request should contain the email for the user:

{
"email": "povid681@nokdot.com",
}
ParamValueTypeRequiredDescription
emailpovid681@nokdot.comStringYesThe user's email

Let’s Dive Into the Code!

Choose your preferred programming language and use the provided examples to integrate the login

Example - cURL
curl --location 'https://api.betatel.com/api/auth/reset-password/resend' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3ZWE2MjJiMDU1MjkzNWZhYzVjZDFhZCIsImVtYWlsIjoicG92aWQ2ODFAbm9rZG90LmNvbSIsInJvbGUiOiJ1c2VyIiwiaWF0IjoxNzQzNDI0MjAzLCJleHAiOjE3NDM0Mjc4MDN9._-O4UTMwYTRxKPlht4h1ktMS60UjQEuFCmNbLnY4K-0' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "povid681@nokdot.com"
}'

Response

JSON Schema:

{
"message": "Reset password email sent successfully"
}

🎉 Success – The Reset Password Email Has Been Resent!

🔜 What’s Next? The user has now been sent a new verification email. You can proceed with other user management functionalities such as handling login sessions, or securing the account with a password reset.