Developers can use this API to get the accounts for a logged in user by passing the value “get_my_accounts” in the “action” parameter. This parameter can be used with other optional parameters to get the required result set. 


This method requires User Context before it can be called. Please either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to this call API.


Request



Response

 

{
  "result": {
    "tenants": [
      {
        "parent_tenant": null,
        "description": "N/A",
        "membership_type": 0,
        "comments_moderation_enabled": false,
        "social_sharing_enabled": false,
        "viewing_access": 0,
        "allow_comments": false,
        "allow_sharing_with_external_users": true,
        "allow_external_users": true,
        "allow_join_request": true,
        "allow_anonymous_user_access": true,
        "allow_participate": 1,
        "account_package": null,
        "federated_systems": null,
        "content_moderation_enabled": false,
        "Admin_Name": null,
        "User_Account_Packages": null,
        "Created_Date_Time": "2015-02-09T07:51:45.833",
        "Updated_Date_Time": "0001-01-01T00:00:00",
        "IsActive": true,
        "IdentityProviderId": 0,
        "Samlp_Request": null,
        "IsSamlpRequest_Enabled": null,
        "IsAppendRequest": null,
        "merchant_account_id": null,
        "payment_completed": false,
        "isMarked": false,
        "LicenseId": null,
        "subscription_enabled": false,
        "EnterpriseLicenseInfo": null,
        "is_ssl_enable": false,
        "disclaimer_message": null,
        "is_inherit_account_tags": false,
        "is_restrict_new_tags_on_publishing": false,
        "id": 4652,
        "name": "Channel1",
        "domain": "arsalan.farooq.tv",
        "logo_url": "http://arsalan.farooq.tv/Images/etls/DefaultChannelLogo.png",
        "parent_tenant_id": 0,
        "weight": 1,
        "is_featured": false,
        "welcome_message": "",
        "welcome_title": "",
        "parent_tenant_logo_url": null
      }
    ],
    "count": 2
  },
  "status": 1,
  "status_code": 200,
  "message": null
}



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.