Exchange Login Channel Token
POST /v2/profile/exchange_channel_token
This endpoint enables the game to get the third party channel login token.
note
Only cached third-party channel tokens are provided. There may be discrepancies between the actual status of these tokens and the ones obtained through this interface due to factors such as expiration time differences and users canceling their authorization.
Request parameters
For query parameters, see Query parameters.
Parameter | Type | Description | Remark |
---|---|---|---|
openid | string | Unique user ID | Required |
token | string | Player Network SDK Token | Required |
Request sample
curl -X POST -H 'Content-Type: application/json' 'https://test.intlgame.com/v2/profile/exchange_channel_token?channelid=9&gameid=11&os=1&seq=&source=0&ts=1558666012&version=2.0&sig=e6b72b5ad42aaed268eae5a31b950630' -d '{"openid":"6654814801566087952","token":"91c538ff9ea265af2814f35e4e72d5032178d46f"}'
Response parameters
Parameter | Type | Description |
---|---|---|
ret | int | Return code 0: success others: failure |
msg | string | Response message |
token | string | Third party channel token |
Response sample
{"ret":0,"msg":"success","channel_token":"xxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx"}
Support Status for Different Channels
Channel ID | Channel Name | Support Status | Note |
---|---|---|---|
1 | Not Supported | ||
2 | Not Supported | ||
3 | Guest | Not Supported | |
4 | Not Supported | ||
5 | GameCenter | Not Supported | |
6 | GooglePlay | Not Supported | |
9 | Not Supported | ||
10 | Garena | Supported | |
14 | LINE | Not Supported | |
15 | Apple | Not Supported | |
19 | VK | Not Supported | |
20 | Xbox | Not Supported | |
21 | Steam | Not Supported | |
24 | Epic | Not Supported | |
26 | Discord | Not Supported | |
27 | PlayStation5 | Supported | |
30 | DMM | Not Supported | |
32 | SquareEnix | Supported | |
33 | Supercell | Not Supported | |
35 | Kakao | Not Supported | |
38 | VNG | Not Supported | |
41 | Nintendo Switch | Not Supported |