Hi @Nganthoiba,
The easiest way to check if a token is valid is to call the users/me api at your-mattermost-instance/api/v3/users/me
. If the token is valid, you'll get a JSON object representing the current user. If not, it'll error out.
Hi @Nganthoiba,
The easiest way to check if a token is valid is to call the users/me api at your-mattermost-instance/api/v3/users/me
. If the token is valid, you'll get a JSON object representing the current user. If not, it'll error out.