Bots
Session-start sync for native in-app messages. The mobile SDK calls this once per session; the request is forwarded to the messages microservice, which evaluates eligibility, assigns A/B variations (including control holdouts) and returns pre-rendered messages the SDK caches and displays offline. Follows the V1 bots identity convention: the player arrives as a plain external id plus an optionally provided encrypted internal id, mirroring the balance and levels endpoints, with the encrypted id taking precedence when present.
Changed onpost/api/v1/Bots/inapp/sync
Request
- Base URLhttps://api.gameball.co (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: APIKey
Query parameters
playerUniqueId, string
playerId, integer
Headers
Authorization, string
lang, string
APIKey, string required
SecretKey, string
Request body
Game Ball BLLView Models Bots In App In App Sync Request View Model required
playerUniqueId, string nullable
platform, integer
locale, string nullable
appVersion, string nullable
sdkVersion, string nullable
Response
OK
Game Ball BLLHelper Bussiness Custom Response1 Game Ball BLLView Models Bots In App In App Sync Response View Model required
response, Game Ball BLLView Models Bots In App In App Sync Response View Model
success, boolean
errorMsg, string nullable
errorCode, integer
liveMode, boolean nullable
Changes
- info
added the optional property
response/messages/items/campaignTypeto the response with the status (media type: text/plain) - info
added the optional property
response/messages/items/campaignTypeto the response with the status (media type: application/json) - info
added the optional property
response/messages/items/campaignTypeto the response with the status (media type: text/json)
6 more changes in this revision
- info