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.

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)
  • URL: https://api.gameball.co/api/v1/Bots/inapp/sync
  • Auth: none declared. Required headers: APIKey

Query parameters

playerUniqueIdstring
playerIdinteger

Headers

Authorizationstring
langstring
APIKeystring required
SecretKeystring

Request body

playerUniqueIdstring nullable
platforminteger
localestring nullable
appVersionstring nullable
sdkVersionstring nullable

Response

OK

successboolean
errorMsgstring nullable
errorCodeinteger
liveModeboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.