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 on
post/api/v1/Bots/inapp/sync

Request

  • Base URL
    https://api.gameball.co (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: APIKey

Query parameters

playerUniqueId, string
playerId, integer

Headers

Authorization, string
lang, string
APIKey, string required
SecretKey, string

Request body

GameBallBLLViewModelsBotsInAppInAppSyncRequestViewModel required
playerUniqueId, string nullable
platform, integer
locale, string nullable
appVersion, string nullable
sdkVersion, string nullable

Response

OK

GameBallBLLHelperBussinessCustomResponse1GameBallBLLViewModelsBotsInAppInAppSyncResponseViewModel required
response, GameBallBLLViewModelsBotsInAppInAppSyncResponseViewModel
success, boolean
errorMsg, string nullable
errorCode, integer
liveMode, boolean nullable

Changes

    • info

      added the optional property response/messages/items/campaignType to the response with the status (media type: text/plain)

    • info

      added the optional property response/messages/items/campaignType to the response with the status (media type: application/json)

    • info

      added the optional property response/messages/items/campaignType to the response with the status (media type: text/json)

    6 more changes in this revision