SevenShores\Hubspot\Resources\ContactLists::all PHP Method

all() public method

Get a set of contact lists.
public all ( array $params = [] ) : Response
$params array ['count', 'offset']
return SevenShores\Hubspot\Http\Response
    function all($params = [])
    {
        $endpoint = "https://api.hubapi.com/contacts/v1/lists";
        $queryString = build_query_string($params);
        return $this->client->request('get', $endpoint, [], $queryString);
    }