I would like to fetch all the tags using PHP API which I created in the Infusionsoft.
I have tried lot there is no sample codes available on the net.
While trying to use the above answer, I found that one parameter is not matching with the current documentation. So according to the current document, I have updated the code -
$table = 'ContactGroup';
$limit = 1000;
$page = 0;
$queryData = array('Id' => '%');
$selectedFields = array('Id','GroupName');
$orderBy = 'Id';
$ascending = true;
$tags = $infusionsoft->data()->query($table, $limit, $page, $queryData, $selectedFields, $orderBy, $ascending);
print "<pre>";
print_r($test);
It is done using the php. Other methods (php-isdk etc..) should work the same. Hope it helps. :)