Skip to main content
Solved

Api Arguments and Response Limits

  • February 3, 2021
  • 1 reply
  • 242 views

lrvillarreal
Contributor I
Forum|alt.badge.img+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?

Best answer by caroline

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

caroline
Forum|alt.badge.img+8
  • Klaviyo Alum
  • 215 replies
  • Answer
  • February 5, 2021

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