Recover

User recover start (email)

POST https://biometridon.polygon.pt/api/users/recover

This endpoint allows you to start the recover process.

Headers

Name
Type
Description

Content-Type

string

application/json

Request Body

Name
Type
Description

email

string

User email

{
  "data": {},
  "meta": {
    "message": "Reset password email was sent with success. Please check your email."
  },
  "status": true
}

User recover end (password)

POST https://biometridon.polygon.pt/api/users/recover/:token

This endpoint allows you to set the new password for the user.

Path Parameters

Name
Type
Description

token

string

User recover relation token

Request Body

Name
Type
Description

email

string

User email

password

string

User password

{
  "data": {},
  "meta": {
    "message": "Password recovery completed with success."
  },
  "status": true
}

Last updated

Was this helpful?