Confirm Recovery Token

Details#

This endpoint is used to check if the given token is valid to recover an account. The token can be generated by using the recover endpoint and is sent to the user by email.

URL : /auth/recover/:token/confirm

Method :

GET

Request examples#

Example 1 - Valid Token#

Code :

200 OK

/auth/recover/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im5pQGFlZmV1cC5wdCIsImlhdCI6MTY2MzAxMzg0OSwiZXhwIjoxNjYzMDE0NDQ5fQ.k5Z_nBpqt_Hs8JBhLH0ZXTl2-BG-utdIAUdhKXEFuFc/confirm

Example 2 - Invalid Token#

Code :

403 FORBIDDEN

/auth/recover/invalid/confirm