Toggle Navigation
Sidebar

Video Views API

The below API is used to get the total number of videos views generated from your domain.

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

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)
  3. first_name: (string) (Required)
  4. last_name: (string) (Required)
  5. email: (string) (Required)
Optional Parameters:
  1. password: (string|alphanumeric|int) (Optional)
  2. indicator: (Pass 1 for Teacher or 2 For Student or 3 For Staff)
  3. preferred_language: (string) (fr/en) (Optional)
  4. location_code: (string|alphanumeric|int) (Optional)
  5. location_name: (string) (Optional)
            
        
Expected JSON Response:

To fetch the total video views you need to pass the app_id and secret_key. A sample JSON response and explanation of the keys is given below :

            
        
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 occured.