Solved

Api Arguments and Response Limits

  • 4 February 2021
  • 1 reply
  • 236 views

Badge +2

Hello,

I was looking for information on the max amount of emails that i could submit via the ‘emails’ argument for an api request such as “https://a.klaviyo.com/api/v2/list/{LIST_ID}/members”.

I also couldn’t find any info on the max responses from “https://a.klaviyo.com/api/v2/group/{LIST_ID or SEGMENT_ID}/members/all” before a “marker” is given in the response.

 

I am attempting to check when profiles have been added to a list in order to reward them for subscription. It seems I have to do a full pull form “/members/all” every time and then another api call to “/members” just to get their ‘created’ field data.

Am I going about this the correct way or is there simpler approach?

icon

Best answer by caroline 5 February 2021, 01:59

View original

1 reply

Userlevel 5
Badge +8

Hi there,

 

If I understand the use-case correctly, you could create a segment with the following: “Properties about someone” → “Created” → “day is today” or “is in the last X days”, etc., and then you could pull that segment via the Lists V2 API, and avoid needing to pull the actual “Created” date entirely.

 

Best,

 

Caroline

Reply