Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Request a password-reset email

POST
/api/auth/password-reset/request
curl --request POST \
--url http://localhost:3000/api/auth/password-reset/request \
--header 'Content-Type: application/json' \
--data '{ "email": "sam@example.com" }'

Public. Always returns the same success for existing and unknown addresses, disabled SMTP and suppressed per-address requests. Queues mail without signing in or looking up the account. Five requests per client address and three emails per recipient per 15-minute window. Tokens last 30 minutes; no token is returned.

Media typeapplication/json
object
email
required
string
<= 254 characters

Example

{
"email": "sam@example.com"
}

If email recovery is available for that account, a link will be sent.

Media typeapplication/json
object
requested
required
boolean

Example

{
"requested": true
}

Too many recovery requests from this client address.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.