curl --location --request POST
'undefined/mk1/v1/game_integrations/<game-integration-id>/link_account/generate_verification_token'
--header 'Authorization: Bearer <personal-access-token>'curl --location --request POST
'https://publicapi.challangermode.com/mk1/v1/game_integrations/<game-integration-id>/link_account/verify'
--header 'Authorization: Bearer <bot-access-key>'
--header 'Content-Type: application/json'
--data-raw '{
"accountLinkingToken": <account-linking-token>,
"gameAccountReference": {
"accountId": <internal-account-id>
}
}'ott = ParseIntent(intent)LoginToBackend()
SendOttToBackend(ott) // send ott to backend over authenticated channelaccountId = authorizedUser.Id
ChallengermodeClient.VerifyAccount(gameAccountReference:{accountId: accountId}, accountLinkingToken: ott){
"gameAccountReference": { "accountId": "<game-account-id>" },
"displayName": "SpinToWin",
"profileImageUrl": "https://gamecdn/path-to-profile-img",
}curl --location --request POST
'https://publicapi.challangermode.com/mk1/v1/game_integrations/<game-integration-id>/game_accounts/{gameAccountId}'
--header 'Authorization: Bearer <bot-access-key>'
--header 'Content-Type: application/json'
--data-raw '{
"gameAccountReference": { "accountId": <game-account-id> },
"displayName": "SpinToWin",
"profileImageUrl": "https://gamecdn/path-to-profile-img",
}'