Overview
Starts a recovery process when a user has lost access. The server may send a recovery email, request peer approval, or notify the operator depending on the account status. This endpoint can be called without an existing session.HTTP request
POST /Agent/Account/Recover
Authentication
No authentication required.Request body
| Field | Type | Required | Description |
|---|---|---|---|
userName | string | conditional | Username of the account to recover. |
personalNr | string | conditional | Personal number from a legal identity. |
country | string | conditional | Country code for personalNr. |
eMail | string | conditional | Email registered with the account. |
phoneNr | string | conditional | Phone number registered with the account. |
- Provide at least one of
userNameorpersonalNr. - If
personalNris provided,countryis required. - Provide at least one contact method:
eMailorphoneNr.
Internal process
- Accounts without assets or legal identities receive a recovery email.
- Peer-reviewed identities trigger peer signature requests.
- Operator-approved accounts notify the operator for manual handling.
Security notes
- The endpoint is audited and rate-limited.
- No success status is returned to avoid information leakage.
Error handling
If multiple accounts match the samepersonalNr and country and no userName
is provided, the server returns HTTP 422.