Skip to main content
Level 2
Oct 5, 2023 10:56 PM UTC
Solved

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Oct 6, 2023 3:05 AM UTC
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.

1 reply

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Oct 6, 2023 3:05 AM UTC
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.
Translate