Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to create folders and reports through API?


How can I create reports programmatically?

share|improve this question
up vote 4 down vote accepted

You can create reports and folders by way of the Metadata API. There is both a file-based API and a REST-based API to suit your needs.

share|improve this answer
thank you, I reviewed the Metadata API and now I'm able to create a simple custom object, but i can't figure out how to create a report. Could you please give me more information related to it? – user8145 May 15 '14 at 14:38
And yes, Metadata API is the right place to do it. I found this documentation very useful. Now I'm able to get a zip file containing the reports of a Folder. Thank you sdcfox – user8145 May 20 '14 at 20:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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