Skip to Content
MinexonMinexon

account.reset-form

Open password reset and optionally store a link token in the session.

GET/api/v1/{locale}/account/reset

API scope account.reset-form

Request

Send Authorization: Bearer <key> with each request.

Preserve the same session cookie across the steps in this flow.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.

Query parameters

FieldTypeRequirementDescription
tokenstringOptionalReset token from the email. The first call stores it in the session and returns a clean path.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  "${MINEXON_BASE_URL}/api/v1/en/account/reset"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
screenstringConditionalCurrent screen in the account flow.
registrationFieldsarrayConditionalConfigured registration fields.
registrationSchemastring or nullConditionalCurrent value to submit as registration_schema.
forcedRegistrationProviderstring or nullConditionalRequired registration provider.
forcedLoginProviderstring or nullConditionalRequired sign-in provider.
registrationProviderstring or nullConditionalProvider for the pending external registration.
registrationNeedsPasswordbooleanConditionalWhether the registration screen needs a password.
providerReadinessarray or objectConditionalProvider readiness for the current flow.
enabledProvidersarray or objectConditionalEnabled providers.
accountProvidersarray or objectConditionalProvider catalog and display labels.

When a well-formed link token is moved to the session, HTTP 200 contains next. Repeat the GET without the token using the same session.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "registrationFields": []
  }
}

Flow and error cases

Shared error and authentication contract