API Function: GetGroups
Resource URL: www.dialmycalls.com/api/1-0/GetGroups
Gets all of the groups on an account.
Optional Resource Properties
| Property | |
|---|---|
| totalcontacts | A numeric field (1/0) where if 1 is used we will return how many contacts are in each group. |
| page | There is a limit of 50 results returned. The default page is 1, if there is more then 1 page this parameter can be changed for pagination. |
| accountid | This associates the request with a particular sub account. |
Examples
- How To Get Group Data
-
$request->execute("/1-0/GetGroups/", 'POST',array("accountid"=>"1111","totalcontacts"=>1));$resp = json_decode($request->responseBody);