Do you want to get video duration through the API? We've got you covered...

Step 1 

Get API Keys from user:

User's API Key is located in Account Settings > Integrations > User API Key

  • Used to post videos to a user's account

Organization's guest user API Key is located in Account Settings > Integrations > Organization API Key

  • Used to post videos to an organization's account as a guest

Step 2

Operation: GET
URL: https://api.ilosvideos.com/video/metadata
Content-Type: application/x-www-form-urlencoded
GET Values:
api_key: api key from step 1
randtag: {{THE RANDTAG OF THE VIDEO}}

Results (JSON):
{
        "message": "",
        "level": "success",
        "data": {
                    "hours": "00",
                    "mins": "00",
                    "secs": "10",
                    "ms": "380",
                    "totalMs": 10380
        }
}

Did this answer your question?