The /auth/forgotpassword endpoint allows users to initiate the process of resetting their password by providing their email address. An optional redirect URL can also be provided to redirect users after initiating the password reset process. Method:
POST
Request Payload:
Parameter | Type | Description |
---|---|---|
string | The email address of the user. | |
redirect_url (Optional) | string | The URL to redirect the user to after initiating the password reset process. |
/resetpassword
See examples below
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
email | string | ā | The email address of the user |
redirect_url | string | ā | The URL to redirect the user to after initiating the password reset process |
Responses
ā 200 - Success
ā ļø 401 - Unauthorized
ā ļø 404 - Not Found
ā 500 - Internal Server Error
Tags
Auth
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json