POST /auth/get-password-reset-email-test/{email}
Request a test password reset email (development only)
Sends a test password reset email with a reset token to the specified email address. This endpoint is for development and testing purposes only and should not be used in production.
Required Parameters
email
path string Email address to send the test password reset link to
Try it out
Loading...
Output:
Responses
Description
Test password reset email sent successfully
{ "message": "Test password reset email sent to user@example.com", "resetToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."}Description
Bad request - invalid email format
{ "error": "string", "status": 0, "message": "string"}Description
Not found - account with this email address does not exist
{ "error": "string", "status": 0, "message": "string"}Description
Internal server error
{ "error": "string", "status": 0, "message": "string"}References
#/components/schemas/Error
type: objectproperties: error: type: string description: Error message status: type: integer description: HTTP status code message: type: string description: Detailed error messagedescription: Error response objectrequired: - error|export interface Error { /** Error message */ error: string; /** HTTP status code */ status?: number; /** Detailed error message */ message?: string;}Route Source Code
Check out the source code for this route entrypoint here: /auth/get-password-reset-email-test/[email]/route.ts
Or the swagger.yaml spec this documentation was generated from:
/auth/get-password-reset-email-test/[email]/swagger.yaml