Skip to content

GET   /auth/forgot-password/{token}

Validate password reset token

Checks if a password reset token is valid and not expired

Required Parameters

token   path string

Password reset token received in email

Try it out

Loading...

Output:

Responses

Description

Token is valid

{
"valid": true,
"email": "string"
}

References

#/components/schemas/Error

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

Route Source Code

Check out the source code for this route entrypoint here: /auth/forgot-password/[token]/route.ts

Or the swagger.yaml spec this documentation was generated from: /auth/forgot-password/[token]/swagger.yaml