Request password reset
POST
/api/auth/forgot-password
const url = 'https://hitkeep.com/api/auth/forgot-password';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://hitkeep.com/api/auth/forgot-password \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com" }'Sends password reset email if account exists.
Request Body required
Section titled “Request Body required ” Media type application/json
object
email
required
string format: email
Example generated
{ "email": "hello@example.com"}Responses
Section titled “ Responses ”Status
Media type application/json
object
message
string
status
string
Example generated
{ "message": "example", "status": "example"}