0

Im using a rest api to upload images or text in marketing cloud content builder, i have created a folder inside the content builder(folder name: Content Area) and i want to push the data inside this folder. Any idea on how to push the content inside a folder in content builder?

  • To verify. The file already exists inside of Content Builder and are looking to move locations. And not to upload a new file into this folder? – Gortonington Jul 10 '18 at 14:09
  • No, we need to push new file inside the folder @Gortonington – Abhishek Jul 10 '18 at 14:12
3

To create a new asset inside of Contact Builder utilizing the REST API, you will need to use the POST /asset/v1/content/assets endpath.

This will require you to provide a JSON with all the values you wish to utilize for your image (including the image value itself). One of these values is "Category" which is actually the folder location of the file. Inside of Category, you would need to place the CategoryID of your folder - which can be found inside of the UI or via API.

For more information on Asset Modeling, please see the documentation here.

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.