Saves a variable’s value. It can be acquired with storage.get method.

key true String

Variable’s key
Max length of a key: 100 characters

value false String

Variable’s value

uid false String

User id. Can be set in case of a server method call
If method is called within a user’s session uid does not need to be specified


Session is optional (for External applications - required)

Required permissions


With this method you can create or update existing variable for specific user or a global variable for all users depending on what session you use and value of a uid parameter;

  • call within user session - variable is set for current user;
  • server call with uid specified - variable is set for user specified in uid parameter;
  • server call without uid specified - variable is set for all users.


Storage API methods have some limits regarding unique keys amount:

  • maximum of 1000 keys per user;
  • maximum of 5000 keys per app.


{ "success": "boolean" }

Application paramters

User session data


List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig