> For the complete documentation index, see [llms.txt](https://ton-play-1.gitbook.io/ton-play-1/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-1/digital-assets-api/authentication/get-jwt.md).

# Get JWT

## Get a token via iFrame on TON Play

Game JWT is a `token` in query address

<details>

<summary>Example</summary>

{% code overflow="wrap" %}

```uri
https://play.zeya.io/?token=eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIwZDljM2UzZjIzYzI4Zjk2YWFlNTQ2NGI3YTdhNTU5OTU0MWQyOWFmZDJmMWNkMDY1OGQ3YjJlZmEwMmRmZTE0IiwiaXNUZXN0IjpmYWxzZSwiaXNzIjoiaHR0cHM6XC9cL29hLnRvbnBsYXkuaW8iLCJnYW1lS2V5IjoiRFptclZrMW1KNSIsImV4cCI6MTY3OTY0ODAyOSwidG9rZW5fdHlwZSI6IkdBTUUiLCJpYXQiOjE2NzEwMDgwMjksImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ0ZWxlZ3JhbUlkIjo1NDM4MjQyMjM4LCJ1c2VybmFtZSI6InNlbnNodV8zODIxNjEwOSJ9.hAjaroTO8ZT67FjtnywkvtfDgf65-cJSSUxp551_6u9KkaOaWwzJxHNpjaW7qOpf_auPaJVbMcP0G6ot84zLAjYTjCVsDUjg1PACeF2_H_0v9RKtUGk5QIu12O9VwVL_jF4FCtE8ypsnG_Q4iBHUb1XTPcSa3s0X2w8ZyB8KVn9MtC9YNhTTgyX3HfYZ7hmXB698wXqSAWGU_7MWjKu_pBuWIq-eK4wSBybkl9OlDVGQ_unQdhlucRxoGFKdQJBsOnNf5QD8A7v6mNtJYDUiW0B8h20Q0mK6zvyv0Kznt2LsxF3xXYSAts28LV1qKwsYatPoZ1iDK61MhYftPGjsog
```

{% endcode %}

</details>

## Get a token via your Telegram bot

You need to request TON Play telegram user authorization. You can check the method here: [Auth API](/ton-play-1/digital-assets-api/auth-api.md)
