getUserPersonalization
This method is used to get user personalization data for a specific resource within a defined scope. Persist user preferences such as favorite games, teams, UI settings, filters, payment methods, and other personalization-related configurations. Each resource defines its own structure for configs, allowing the method to be reused across many personalization features.
Documentation
Try it now
Request parameters:
Call example:
getUserPersonalization({
scope: 'betchain',
resource: ['timeZone']
})Response examples:
{
code: 0,
rid: 1196258838,
data: {
result: 0,
details: {
code: 0,
data: {
avatar: {
_id: '6543a9a6ef32a8f376b12c46',
user_id: '13760786',
scope: 'betchain',
resource: 'avatar',
configs: {
id: 6
}
}
}
}
}
}Additional Information:
avatar
timeZone
viewTypes
lightMode
marketFilter
favoriteMarkets
sportToolbarItems
selectedOddFormat
balancesVisibility
casinoToolbarItems
sportFavoriteGames
tvGamesFavoriteGames
sportFavoriteTeams
esportFavoriteGames
casinoFavoriteGames
selectedOddSettings
personalizationPopup
depositPaymentMethod
withdrawPaymentMethod
skillGamesFavoriteGames
sportFavoriteSportList
casinoFavoriteProviders
esportFavoriteSportList
liveCasinoFavoriteGames
casinoFavoriteCategories
sportFavoriteCompetition
tvGamesFavoriteProviders
esportFavoriteCompetitions
virtualSportsFavoriteGames
liveCasinoFavoriteProviders
promotionsFavoriteCategories
liveCasinoFavoriteCategories
virtualSportsFavoriteProviders
virtualSportsFavoriteCategories
Call example
getUserPersonalization({
{
scope: 'betchain',
resource: ['avatar']
}
})Response example
{
code: 0,
rid: 1196258838,
data: {
result: 0,
details: {
code: 0,
data: {
avatar: {
_id: '6543a9a6ef32a8f376b12c46',
user_id: '13760786',
scope: 'betchain',
resource: 'avatar',
configs: {
id: 6
}
}
}
}
}
}