[SalesForce] How to get folder structure of Content Builder using REST Api

Does anyone know how to retrieve the folder structure of Content Builder using REST Api? I have read the documentation but there is no example or anything that can point me to the right direction.

I have tried to set:

query.property = "ContentType";
query.simpleOperator = "in";
query.value = new string[] { "folder" };
fields = new string[] { "Name", "ID" };

But the response does not return any item. Can anyone shade some light on this please?
Thanks in advance,
Arman G.

Best Answer

This might be of help - https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/datafolder.htm - I think it would be helpful if SFMC documentation would do some cross-linking on this topic.

Related Topic