You are here

public function SendinblueApiV2::getLists in SendinBlue 7.2

Get lists of an account.

Return value

GetLists An array of all lists.

Overrides SendInBlueApiInterface::getLists

File

includes/Api/SendinblueApiV2.php, line 117

Class

SendinblueApiV2
Sendinblue REST client.

Code

public function getLists() {
  $lists = $this->sIBHttpClient
    ->get("list", "");
  return new GetLists($lists['data']);
}