Solved

Campaign API missing fields

  • 21 June 2023
  • 2 replies
  • 37 views

Userlevel 1
Badge +2

Hey guys, 

It looks like the new Campaign API does return sent_at and subject fields.

These are important properties that our app uses.


- Is there any way to fetch these fields with the new APIs? 
- If not, what are some alternative properties that we can use instead of these fields?

Thank you.

FYI:
New docs: https://developers.klaviyo.com/en/reference/get_campaign
v1/v2 docs: https://developers.klaviyo.com/en/v1-2/reference/get-campaigns

icon

Best answer by Brian Turcotte 27 June 2023, 16:42

View original

2 replies

Userlevel 7
Badge +36

Hi @airboxr!

My apologies for the delay here! 

 

Subject is actually included as a field on message in the response. Sent_at is not supported in the new APIs, but is replaced in practice by send_time.

 

I hope this helps to clarify!

- Brian

Userlevel 7
Badge +36

Hi @airboxr!

I’m going to look into this with Engineering and I’ll update the thread as soon as possible!

 

Best,

Brian

Reply