subscribeToUserProfile
This method provides a real-time stream of the authenticated user's account data. It is the primary mechanism for keeping the user interface synchronized with the backend, pushing immediate updates whenever there are changes to the user's balance, verification status, or loyalty progress.
Documentation
Try it now
Request parameters:
The method works without parameters
Call example:
subscribeToUserProfile()Response examples:
{
response: {
subid: '-4337637404705657385',
data: {
profile: {
'335140210': {
id: 3210,
_parent_id: null,
unique_id: 335140210,
username: '5491355',
name: 'Al Rams',
first_name: 'Al',
last_name: 'Rams',
middle_name: null,
gender: 'M',
email: '[email protected]',
phone: '5511934491355',
reg_info_incomplete: false,
address: 'Rua Padre Capra',
reg_date: '2025-10-13',
birth_date: '1999-01-01',
doc_number: '224343223',
casino_promo: null,
currency: 'BRL',
currency_id: 'BRL',
currency_name: 'BRL',
balance: 687.52,
casino_balance: null,
exclude_date: null,
bonus_id: -1,
games: 0,
_level: 'profile',
super_bet: null,
country_code: 'ZW',
doc_issued_by: null,
doc_issue_date: null,
doc_issue_code: null,
province: null,
iban: null,
active_step: null,
active_step_state: null,
subscribed_to_news: false,
bonus_balance: 0,
frozen_balance: 0,
bonus_win_balance: 0,
city: 'Santo André',
has_free_bets: false,
loyalty_point: 196.52,
loyalty_earned_points: 0,
loyalty_exchanged_points: 0,
loyalty_level_id: 44821,
affiliate_id: null,
is_verified: true,
incorrect_fields: null,
loyalty_point_usage_period: 0,
loyalty_min_exchange_point: 0,
loyalty_max_exchange_point: 0,
active_time_in_casino: 0,
last_read_message: null,
unread_count: 0,
last_login_date: 1776171954,
swift_code: null,
counter_offer_min_amount: 100,
sportsbook_profile_id: 5,
subscribe_to_email: true,
subscribe_to_sms: true,
subscribe_to_bonus: true,
is_tax_applicable: false,
nem_id_token: null,
mobile_phone: null,
personal_id: '82394241047',
zip_code: '09030060',
additional_address: null,
btag: null,
birth_region: null,
supported_currencies: null,
wallets: null,
previous_login_time: null,
nick_name: null,
is_super_bet_available: true,
is_gdpr_passed: false,
subscribe_to_internal_message: true,
subscribe_to_push_notification: true,
subscribe_to_phone_call: true,
title: null,
terms_and_conditions_version: 'sigap_v1',
terms_and_conditions_acceptance_date: '2025-10-13',
last_preferred_currency: null,
is_agent: false,
is_two_factor_authentication_enabled: false,
authentication_status: 0,
qr_code_origin: null,
session_duration: 30,
is_new_client: null,
unplayed_balance: 0,
language: 'pb',
exclude_type: null,
is_bonus_allowed: true,
casino_bonus: 0,
casino_bonus_win: 0,
birth_city: null,
client_pep_status: 0,
cashdesk_id: null,
last_sport_bet_time: 1774731699,
sport_bonus: 0,
is_phone_verified: false,
is_mobile_phone_verified: false,
limit_check_state: null,
deposit_count: 1,
bonus_money: 0,
loyalty_last_earned_points: 0,
is_cash_out_available: true,
doc_region_id: 0,
last_login_ip: '91.103.58.245',
status: 2,
is_email_verified: false,
loyalty_level_name: '5',
last_deposit_time: 1764744310,
is_resident: false,
is_subscribe_to_casino_news_letter: true,
is_subscribe_to_casino_email: true,
is_subscribe_to_casino_sms: true,
is_subscribe_to_casino_bonus: true,
is_subscribe_to_casino_internal_message: true,
is_subscribe_to_casino_push_notification: true,
is_subscribe_to_casino_phone_call: true,
is_subscribe_to_direct_mail: true,
needs_subscriptions_update: false,
first_deposit_time: 1764744310,
last_deposit_amount: 1,
last_withdrawal_amount: 50,
last_withdrawal_time: 1765177083,
deposit_amount: 1,
withdrawal_amount: 50
}
}
},
hasError: false,
error: '',
rid: 62676494
}
}