I am looking to retrieve a list of all assets within a folder in Content Builder using REST API. I have the following endpoint: /asset/v1/content/categories/XXXXXX with no body. This returns a 404. I have also tried using a filter like this: /asset/v1/content/assets?$filter=Category%20eq%20'XXXXXX'. Any ideas on retrieving Content Blocks in a folder in Content Builder?


You're very nearly there with your second route. The issue you have is you're filtering on "Category eq 'XXXXX'", but the category is an object, not a string. If you know the Id of the category/folder, you construct the filter like so:


If you know the name of the category, you could potentially filter by name:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.