Developers » API methods » Secure » secure.addAppEvent
Securesecure.addAppEvent
Adds user activity information to an application
This method can be called with a service token.
Parameters
user_idID of a user to save the data
positive number, current user id is used by default, required parameter
activity_idthere are 2 default activities: Any other value is for saving completed missions
positive number, required parameter
valuedepends on activity_id:
  • 1 ľ number, current level number;
  • 2 ľ number, current user's points amount

Any other value is ignored
positive number
Result
Errors
1251This achievement is already unlocked
Global errors can occur while running. See their descriptions on this page.