Followers Are Great, Contacts Are Gold. Create a Free AI-Quiz With Lead Magnet to Share With Your Followers and Own Your Contacts!

Using campaign ID rather than "email_content"

RonK7
Campaign Expert
0 Votes

Hi All,

 

I've created a list  and i have added custom fields to contacts using API calls. I also created a sample campaign with $SUBSCRIBER.CUSTOMTEXT1,2,3 so i can personalize the campaign. Looking at the POST API documentation i see int the Example JSON Request Body that i can use "email_content". Is it possible to use the campaign ID rather than copying the HTML code in the call?

 

TIA

2 REPLIES 2
RonK7
Campaign Expert
0 Votes

Hi All,

 

I just realized i'm looking at this the wrong way. I need to get a list of campaigns and the search for the one i want and get the ID. You can ignore this post.

user770514
Rookie
0 Votes

Yes

 

Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page