Toggle Navigation
Sidebar

User's current status API

The below API will give the current status of the user.

Method: POST
API Reference:
https://www.enrichedacademy.com/apis/v1/getUserCurrentStatus

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)
Example Request Code:
            
        
Expected JSON Response:

To fetch the users current status you need to pass the user's email with app_id and secret_key. A sample JSON response and explanation of the keys is given below:

            
        
  1. current_progress: The current_progress represents the user's progress in current course in percentage.
  2. overall_progress: The overall_progress represents the overall progress of the user in percentage.
  3. topic_name: The topic_name represents the current topic of the user.
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.