Developers » API methods » Account » account.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.
device_idUnique device ID.
string, accessible for versions from 5.31
Show options for only old API versions
string, outdated option, only for versions before 5.31
One of the parameters must be passed: token or device_id.
Returns an object with following fields:
  • disabled Ś 1 if notifications are disabled.
  • disabled_until Ś unixtime 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.

Global errors can occur while running. See their descriptions on this page.
Version historyShow all
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.