Skip to content

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..."
}

References

#/components/schemas/Error

type: object
properties:
error:
type: string
description: Error message
status:
type: integer
description: HTTP status code
required:
- error
description: Error response object

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