Merran documentation API & integrations
Request a password-reset email
POST
/api/auth/password-reset/request
const url = 'http://localhost:3000/api/auth/password-reset/request';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"sam@example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string
Example
{ "email": "sam@example.com"}Responses
Section titled “Responses”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.