I am trying to create a campaign and I need to know when I pass the subject line as a parameter. I don't see that option in this documentation https://developers.klaviyo.com/en/reference/create_campaign
Solved
API Add Subject Lines

Best answer by Brian Turcotte
Hi
Creating the campaign and setting the subject line will actually have to occur in two separate calls:
- First, the creation of the campaign via the POST call, Create Campaign
- Then, adjusting/setting the subject line via the PATCH call, Update Campaign Message:
Here’s another Community thread that deals with a similar question:
I hope this helps to clarify, and thanks for using the Community!
- Brian
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.