We are using this endpoint to get tokens by folder ID: https://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#!/Tokens/getTok... .
Problem is that we use a lot of inherited tokens, and the response doesn't actually give inherited tokens. Just local tokens. So you need to navigate up the tree using folder IDs to get to the folder where the master token exists - but you can't tell from that first API call that there are even inherited tokens to find! This is a bit frustrating.
Is there a better way? We are overall trying to get all folders, and all tokens associated with them (whether inherited or local).
Solved! Go to Solution.