Skip to main content
Solved

Campaigns API filtering by send_time


Forum|alt.badge.img+1

Since directly filtering by send_time is not supported in the new /campaigns endpoint, is there another way to filter based on send_time? Seems a bit odd to be able to filter by the other date fields like created_at and updated_at etc., but not send_time.

The usecase is getting all the campaigns sent within a date range for example. Getting all the campaigns and then filtering manually is an option of course, but that’s multiple HTTP requests (pagination etc) and a lot of data that’s going to waste 😅

Best answer by Brian Turcotte

Hi @Cynicade!

 

Our product team is looking into the possibility of adding this functionality, but it’s currently not available due to the way our endpoints are structured at this time.

I’ll update the thread if this changes!

 

Thanks,

Brian

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

4 replies

Brian Turcotte
Forum|alt.badge.img+37

Hi @Cynicade!

 

I’ll reach out to Engineering about this and update the thread when I know more!

 

Best,

Brian


Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • April 25, 2023

Hi @Cynicade!

 

Our product team is looking into the possibility of adding this functionality, but it’s currently not available due to the way our endpoints are structured at this time.

I’ll update the thread if this changes!

 

Thanks,

Brian


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 2 replies
  • April 26, 2023

Thanks Brian! That would be nice to have.

 

Paul


klavibro
Contributor I
  • Contributor I
  • 1 reply
  • September 12, 2024

the fact you can’t filter on send_time is wild