Developers » API methods » Account » account.getPushSettings
Accountaccount.getPushSettings
Gets settings of push notifications.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: messages.
Parameters
device_idUnique device ID.
string, accessible for versions from 5.31
Show options for only old API versions
token
string, outdated option, only for versions before 5.31
One of the parameters must be passed: token or device_id.
Result
Returns an object with following fields:
  • disabled1 if notifications are disabled.
  • disabled_untilunixtime time value, notifications are temporarily disabled until.
  • conversations — list with settings of specific conversations and their number as the first element.
  • settings — push settings in a special format.

Errors
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
5.46
messages.send and messages.sendSticker methods use random_id parameter instead guid. account.getPushSettings return peer_id field instead chat_id and user_id. account.setSilenceMode method use peer_id parameter instead chat_id and user_id. messages.getHistoryAttachments method return market items, posts and comments like link attachments.