> For the complete documentation index, see [llms.txt](https://ton-play-1.gitbook.io/ton-play/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ton-play-1.gitbook.io/ton-play/digital-assets-api/authentication/validate-user-jwt.md).

# Validate User JWT

This method allows to verify if a User JWT token is valid or not.<br>

## Open API

## Validate User JWT

<mark style="color:green;">`POST`</mark> `https://api.playdeck.io/api/v1/oauth/check?token={UserJWT}`

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    "valid": false,
    "active": false,
    "userUid": null
}
```

{% endtab %}
{% endtabs %}

For server side validation you can use this public keys: \
\
For Ton Play platform: &#x20;

{% file src="/files/DlUBm2aCSsY7aAE0AoE2" %}

For PlayDeck platform:&#x20;

{% file src="/files/yxbTzhHygO707WNcDWWd" %}

You can check all available libraries to work with JWT token [here](https://jwt.io/libraries).&#x20;
