Is there a way to populate a form drop down list with all emails in a certain campaign? for example I want to build a Landing Page that would allow a sales person to enter a leads name, email address and campaign code, (when he enters the campaign code, a list of emails within that campaign would appear as a selection option). Once all information is entered, the campaign will send a email to that specific lead. This enabling a sales rep to send a new customer a copy of a previously sent sales email easily.
Solved! Go to Solution.
Other than the developer docs, I wouldn't say everything is in any one place. This blog post and its follow-up will give you insight into the Request Campaign API. But you'll need to cover a bunch more areas. For example, you'll need to set naming conventions on your requestable Smart Campaigns so only those eligible populate the dropdown.
Also consider using a hybrid API-read/Form-write approach where the API is used to fetch campaigns but it's actually a referral form post that triggers the email. This is tons more scalable than API-only.