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 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.