The developer can refer media to a friend by passing value “refer_to_friend” in “action” parameter. Additionally, they can use any other optional parameters as provided in the table below to get the required result set.


This method requires User Context be set before calling it. And like other APIs either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to set User Context.


Request



Parameters


Parameter 

Description

mashup_id

Id of a media that you want to refer to a friend.

recipient

Email address of a friend.


Response

 

{
  "status": 1,
  "status_code": 200,
  "message": "The media link has been sent to your provided email address."
}



To learn more how these Widgets work, click here on VIDIZMO Web API Library.

For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.