Recover Account

Details#

This endpoint is used to recover the account of a user. If the account exists, the user will receive an email that will allow him to continue the process.

Returns 200 status even if the account doesn't exist (for safety purposes).

URL : /auth/recover/request

Method :

POST

Following steps

To continue the flow of recovering an account, see confirm token and finish recovery.

Parameters#

email#

Body Parameter
Required
String

Email corresponding to the account to be recovered.

Must be in a valid email format.

Request examples#

Example 1 - Existing Account#

Code :

200 OK

{
"email": "admin@nijobs.pt"
}

Example 2 - Non-Existing Account#

Code :

200 OK

{
"email": "wrong@nijobs.pt"
}