« Back to Documentation Overview

listStaticSegments – v1.2

 listStaticSegments(string apikey, string id)

Retrieve all of the Static Segments for a list.

Section
List Related
Parameters
apikey a valid API Key for your user account. Get by visiting your API dashboard
id the list id to connect to. Get by calling lists()
Returns
array an array of parameters for each static segment
Returned Fields
intidthe id of the segment
stringnamethe name for the segment
intmember_countthe total number of members currently in a segment
datecreated_datethe date/time the segment was created
datelast_updatethe date/time the segment was last updated (add or del)
datelast_resetthe date/time the segment was last reset (ie had all members cleared from it)