cURL
curl --request GET \ --url https://tandem.hlofiys.xyz/api/auth/validate-token \ --header 'Authorization: Bearer <token>'
{ "message": "Token is valid." }
A lightweight endpoint to check if the current Bearer access token is valid and not expired. Returns a 200 OK on success, or a 401 Unauthorized if the token is invalid
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Token is valid.
"Token is valid."