Developers » API methods » Storage » storage.getKeys
Storagestorage.getKeys
Returns the names of all variables.
Values can be set with the storage.set method.

Variables can be stored in two visibility areas:
  • users, variable is linked to a user, other users can't read it;
  • global, variable is linked to an application. If the method is called not from the name of the app, it is required to send the global parameter to access the variable.
This method can be called by a service token. Only public data is returned.
This method can be called with a user token.
This method can be called with a community token.
Parameters
user_iduser id, whose variables names are returned if they were requested with a server method.
positive number
offsetoffset required to choose a particular variable names subset. 0 by default.
positive number, default 0
countamount of variable names the info needs to be collected from.
positive number, maximum value 1000, default 100
Result
Returns an array of variables names.
Errors
Global errors can occur while running. See their descriptions on this page.