Skip to main content
Messages
Subscription Request
type:object

Client sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.

Subscription Notification Data
type:object

Server sends subscription notification data

data
type:object
required
id
type:integer
required

Unique identifier

ip
type:string
required

IP address of source that generated action

timestamp
type:integer
required

The timestamp (milliseconds since the Unix epoch)

country
type:string
required

Country where the IP address is registered (estimated)

city
type:string
required

City where the IP address is registered (estimated)

log
type:string
required

Action description. Possible values:

  • changed_email - email was changed
  • changed_password - password was changed
  • disabled_tfa - TFA was disabled
  • enabled_tfa - TFA was enabled
  • success - successful login
  • failure - login failure
  • enabled_subaccount_login - login was enabled for subaccount (in data - subaccount uid)
  • disabled_subaccount_login - login was disabled for subaccount (in data - subaccount uid)
  • new_api_key - API key was created (in data key client id)
  • removed_api_key - API key was removed (in data key client id)
  • changed_scope - scope of API key was changed (in data key client id)
  • changed_whitelist - whitelist of API key was edited (in data key client id)
  • disabled_api_key - API key was disabled (in data key client id)
  • enabled_api_key - API key was enabled (in data key client id)
  • reset_api_key - API key was reset (in data key client id)
data
type:oneOf

Optional, additional information about action, type depends on log value