Using campaign ID rather than "email_content"

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

1 REPLY 1
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.

Developer Portal

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

Visit Page