Got a 'How do I' question? Join 'Ask a Trainer' Monday to Friday, 11am to 4pm ET for instant help and pro tips!

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

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up