How to check mattermost token

Hello friends! Please, tell me if there is any mattermost api to check mattermost token. Please share me your ideas

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.