This content has been marked as final. Show 3 replies
Generally, yes. The Activity Types returned from this endpoint are static for an individual Marketo instance. I would still recommend calling this endpoint at least once for each Marketo instance.
Thanks for your replay.
Just to clarify, let's say that we have a use case that we want to fetch `Visit Webpage` activities for different marketo instances. Can we assume that `Visit Webpage` activity type id is equal `1` for all instances (like we have right now on our instance) and use it for filtering, or safer is to determine activity id by name from /rest/v1/activities/types.json endpoint before ?
In the short term, tehse activity type ids will most likely stay constant. Looking at a longer time horizon, it is best practice to decouple the dependence on hardcode variable values. I would recommend polling the Get Activty Types API to make sure these actitvity type variable values are in sync.