Using campaign ID rather than "email_content"

Highlighted
Occasional Contributor

Using campaign ID rather than "email_content"

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

1 REPLY 1
Highlighted
Occasional Contributor

Re: Using campaign ID rather than "email_content"

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.

Developer Portal

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

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured