--- sidebar_position: 1 --- # Check token Checks if the bot token is functional `Function CheckToken(Val Token) Export` | Parameter | CLI option | Type | Description | |-|-|-|-| | Token | --token | String | Bot token | Returns: Map Of KeyAndValue - Serialized JSON response from VK Teams
:::tip Method at API documentation: [GET /self/get](https://teams.vk.com/botapi/#/self/get_self_get) :::
```bsl title="Code example" Token = FunctionParameters["VkTeams_Token"]; Result = OPI_VKTeams.CheckToken(Token); ``` ```sh title="CLI command example" oint vkteams CheckToken --token "001.3501506236.091..." ``` ```json title="Result" ```