public function MailchimpLists::getSegmentMembers in Mailchimp 8
Gets information about members of a list segment.
Parameters
string $list_id: The ID of the list.
string $segment_id: The ID of the segment.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/lists/s...
File
- lib/
mailchimp-api-php/ src/ MailchimpLists.php, line 454
Class
- MailchimpLists
- Mailchimp Lists/Audiences library.
Namespace
MailchimpCode
public function getSegmentMembers($list_id, $segment_id, $parameters = []) {
$tokens = [
'list_id' => $list_id,
'segment_id' => $segment_id,
];
return $this
->request('GET', '/lists/{list_id}/segments/{segment_id}/members', $tokens, $parameters);
}