Get emailid and formid using smartcampaignid via API

Anurag
Level 2

Get emailid and formid using smartcampaignid via API

We want to fetch emailid and formid of the emails and forms that belong to a particular smart campaign using the smartcampaignid. Is there a way to do this using the API? I looked through the documentation and could not find anything that works. Something like this Asset - Marketo Developers endpoint but with a filter parameter for smartcampaignid.

 

Thanks!

Tags (1)
1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Get emailid and formid using smartcampaignid via API

You have to get the Smart List ID for the Smart Campaign first. Then you can get the rules for the SL.

But I would warn that you also need to know how to parse the SL rules response and the Flow (which also can reference assets) is not queryable.