/auth/forgotpassword
Description:
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. |
Response
Returns JWT token on success, should be used as bearer authorization token when calling /resetpassword
See examples below
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Success
The response is of type object
.