I’m trying to use n8n to pull a list of contacts. I’ve tried 2 ways…using a filter to search first if contact is on a specific list and second if a custom date field is within 120 of current date…second method was using a direct api call to retrieve a segment using:
get https://{youraccountname}.api-us1.com/api/3/segments/{id}
but for the life of me I cannot figure out how to get the segment ID…so then I tried using
https://{youraccountname}.api-us1.com/api/3/segments
to get a list of segments…but that didn’t even return a list of my segments…i’m not sure what it returned…a bunch of segments with random names that aren’t even in my Segements are of my AC app.
Can someone help me figure out how to find the segment ID? I’ve searched the web…can’t figure it out.