Auth

Request a password reset email

Changed on
post/auth/password/forgot

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    none required

Request body

PasswordResetRequestInput required
email, string email required
recaptchaToken, string
app, 'customer' | 'accountant'

#4675: which app's /reset-password the emailed link opens. "accountant" uses ACCOUNTANT_APP_BASE_URL when it is configured; otherwise, and by default, the customer app. Hosts come from configuration only.

Response

Generic accepted response for existing and non-existing accounts

PasswordResetRequestResponse required
success, boolean
data, object

Example response

{
  "success": true,
  "data": {
    "message": "If an account exists for that email, a password reset link will be sent."
  }
}

Changes