> ## Documentation Index
> Fetch the complete documentation index at: https://doc.va777.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Get game link

> [!NOTE]
>
> * A game link is valid for 300 seconds. If it is not used to log in within that time, it expires.
> * A member can play in only one window at a time.
> * If `app` is Y, the in-game bet history button is removed. To view bet details, use [Get bet record detail](https://doc.va777.net/en/api-reference/betlog/detail.md).
> * Pass game ID 0 to get the game lobby link; otherwise pass the game ID.

## Request parameters

**channelID** `number` *required*

Channel ID (use 1 if you have no channels)

**account** `string` *required*

Member account (allowed characters: `a-z A-Z 0-9 _-`)

**currency** `string` *required*

Currency (contact our business team)

**gameID** `number` *required*

Game ID (0: game lobby, other: game ID)

**gamePlat** `string` *required*

Platform the game opens on (web or mobile)

**app** `string` *required*

Opened from an app (Y: hide the game history feature, N: show it)

**lang** `string` *required*

Game language (contact our business team)

**clientIP** `string` *required*

Player IP

**url** `string`

Return URL (must start with http\:// or https\://)

**muteMusic** `boolean`

Mute music (true: muted, false: not muted; defaults to false)

**muteSound** `boolean`

Mute sound effects (true: muted, false: not muted; defaults to false)

**sign** `string` *required*

Signature. See [Signature](https://doc.va777.net/en/guides/signature.md) for how to generate it

## Response

Success (the HTTP status code is always 200; check `status.code` for the result)

**data** `object`

**Properties**

**url** `string`

Game link

**token** `string`

Game token for this session

**status** `object`

Processing status included in every response

**Properties**

**code** `string`

Response code, see [Response codes](https://doc.va777.net/en/reference/response-codes.md)

**message** `string`

Response message

**datetime** `string`

Time the request was received, in RFC3339

**traceCode** `string`

Unique trace code for matching responses on both sides

```json 200 theme={null}
{
  "data": {
    "url": "http://xxx-xx.xxxx/xxxx.xxxx?xx=xxxxxxxxx",
    "token": "35f990b7adda4cb9a25601cf6bf690bd"
  },
  "status": {
    "code": "0",
    "message": "success",
    "datetime": "2022-07-01T10:13:54.920+08:00",
    "traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.