Api Document

Embed Link

Get Embed link video.

Request URL:

Method: GET

Parameters:

  • session_id: required

Response Body Success

{
    "status": true,
    "data": {
        "embed_link": "Embed link public",
        "security_embed_link": "Security Embed link"
    }
}

Response Body Error

{
    "status": false,
    "data": {
        "code": "Error code",
        "message": "Error message"
    }
}
Note: The Security embed link will refresh after one day.

Add and get embed link. Apply for google drive link.

Request URL:

Method: POST

Parameters:

  • session_id: required
  • video_url: required (Support only google drive link)

Response Body Success

{
    "status": true,
    "data": {
        "embed_link": "Embed link with token",
        "security_embed_link": "Security Embed link with token"
    }
}

Response Body Error

{
    "status": false,
    "data": {
        "code": "Error code",
        "message": "Error message"
    }
}
Note: The token of Security embed link will refresh after one day.