Using campaign ID rather than "email_content"

RonK7
Regular Participant

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

2 REPLIES 2
RonK7
Regular Participant

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
Occasional Participant

Yes

 

Developer Portal

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

Visit Page