Toggle Navigation
Sidebar

User Activity Tracking API

The User Activity Tracking API allows the get user activity by Enriched Academy. This is used when you have your own authenticated users on your site already, and you would like to have those users enroll and have access to Enriched Academy from your site.

Method: POST
API Reference:
https://www.enrichedacademy.com/api/v2/getUsersActivity

The below example shows that you can use this API by providing valid details such as:

Required Parameters:
  1. app_id: (string) (Required)
  2. secret_key: (string) (Required)
Optional Parameters:
  1. email: (string|comma seprated string) (Optional)
  2. location_code: (string) (Optional)
  3. preferred_language: (string|en/fr) (Optional)
  4. limit: (int) (Optional) Default: 100, Max Data in one request: 10000
  5. offset: (int) Default: 0 (Optional)
Example Request Code:
            
        
Expected JSON Response:

If all of the details are valid, then you will receive a JSON response like this:

            
        
Error Handling:

In case of some authentication error, then you will get a response like this. Also, note that the message depends on the type of authentication failure occurred.