Skip to main content
Contributor IV
January 11, 2024
Solved

Get Flows enpoint doesn't return archived flows

  • January 11, 2024
  • 3 replies
  • 111 views

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?

    This topic has been closed for replies.
    Best answer by Brian Turcotte

    Hi @MoneyJ2k!

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

     

    Best,

    Brian

    3 replies

    Brian Turcotte
    Klaviyo Alum
    January 12, 2024

    Hi @MoneyJ2k!

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

     

    Best,

    Brian

    MoneyJ2kAuthor
    Contributor IV
    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
    Klaviyo Alum
    January 23, 2024

    Hi @MoneyJ2k!

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

     

    Best,

    Brian