Skip to main content
Solved

Get Flows enpoint doesn't return archived flows


Forum|alt.badge.img+5

I am pretty sure this is possible, but I am struggling to get the get_flows endpoint to return archived flows. I can get it to return all other flows, but not archived. Is there anyway to have the endpoint return archived flows as well?

Best answer by Brian Turcotte

Hi @MoneyJ2k!

Yes! This is possible using the Get Flows endpoint and the archive filter:

 

Best,

Brian

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

3 replies

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • January 12, 2024

Hi @MoneyJ2k!

Yes! This is possible using the Get Flows endpoint and the archive filter:

 

Best,

Brian


Forum|alt.badge.img+5
  • Author
  • Contributor IV
  • 7 replies
  • January 14, 2024

Hey Brian thanks for this. 

So do I have to run 2 api requests, one for archived = true and the other for false? Or is there a way to do this with just 1 request?


Brian Turcotte
Forum|alt.badge.img+37

Hi @MoneyJ2k!

At this time, it will take two requests, but I will definitely forward this to our API team for consideration.

 

Best,

Brian