v1 demo
Generate password reset link
Generate password reset link for a user (for testing or admin purposes).
This endpoint:
- Generates password reset token and URL
- Returns the full reset link
- Token expires after 1 hour
- Useful for testing or admin tools
**Authentication**: No authentication required
post/v1/demo/get-reset-link
Request body
Example request
{
"email": "user@example.com"
}Response
Successful Response
Example response
{
"expires_in": 3600,
"reset_url": "http://localhost:3000/reset-password?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}