gohighlevel-php-sdk

Media Library API

$client = GoHighLevel::client($access_token,'2021-07-28')->mediaLibrary();

Get List of Files


    $tag = $location->list($altId, $altType, $sortBy, $sortOrder, [
        //parameters
    ]);

Upload File into Media Library


    $tag = $location->upload([
        //parameters
    ]);

Delete File or Folder


    $tag = $location->delete($id, $altId, $alttype);