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:
- app_id: (string) (Required)
- secret_key: (string) (Required)
Optional Parameters:
- 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:
- current_progress: The current_progress represents the user's progress in current course in percentage.
- overall_progress: The overall_progress represents the overall progress of the user in percentage.
- 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.