Skip to content

POST /auth/reset-password-request

Send a password reset link to the user’s email. The user clicks the link and then submits a new password via POST /auth/reset-password.

POST /v1/public/projects/:projectSlug/auth/reset-password-request
ParameterTypeRequiredDescription
projectSlugstringYour project’s unique slug
FieldTypeRequiredDescription
emailstringUser’s email address
turnstileTokenstringTurnstile token for captcha (if project uses it)
{
"email": "user@example.com"
}
{
"message": "If an account exists with this email, you will receive a password reset link shortly."
}

If the email is registered, a reset link is sent. The response is the same whether the email exists or not (to prevent email enumeration).

Status CodeError CodeDescription
400INVALID_REQUESTInvalid email
429RATE_LIMIT_EXCEEDEDToo many requests
500INTERNAL_SERVER_ERRORServer error
  • Event: auth.password.reset.requested
    • When: After reset email is sent (or would be sent for existing user)
    • Can do: Security logging, audit trails, user notifications

Configure in Project → Hooks. Learn more about hooks →

POSThttps://api.aerostack.dev/v1/public/projects/your-project/auth/reset-password-request