# How to add a project template when creating a Dradis project using the Dradis HTTP API

**URL:** <https://discuss.dradis.com/t/how-to-add-a-project-template-when-creating-a-dradis-project-using-the-dradis-http-api/481>\
**Category:** Community Edition\
**Created:** [July 31, 2017, 10:24am UTC](https://discuss.dradis.com/t/how-to-add-a-project-template-when-creating-a-dradis-project-using-the-dradis-http-api/481 "2017-07-31T10:24:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyborg244](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@Cyborg244](https://discuss.dradis.com/u/Cyborg244)\
**Post date:** [July 31, 2017, 10:24am UTC](https://discuss.dradis.com/t/how-to-add-a-project-template-when-creating-a-dradis-project-using-the-dradis-http-api/481/1 "2017-07-31T10:24:55Z")

</div>

Hello

I’m using the Dradis API to try automate some tasks to save time and increase productivity, but I’m running into a problem. When I create a project I am unable to select a project template. I can only select a report template. The project template is an xml file,

There must be a way for me to add a project template when when creating a new project through the API, instead of me doing it manually.

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [August 1, 2017, 8:07pm UTC](https://discuss.dradis.com/t/how-to-add-a-project-template-when-creating-a-dradis-project-using-the-dradis-http-api/481/2 "2017-08-01T20:07:23Z")

</div>

Hi @Cyborg244, are you using Dradis Pro or the Community Edition? It isn’t currently possible to select a report template (XML file) when creating a project through the REST API. But, the REST API is a relatively young feature and we plan to expand it in the future. I can add your feature request to our idea backlog to investigate adding in the future.

Edited to add: what about uploading the project template through `thor`? Would that be an option?

---

<div class="post-metadata">

**Author:** ![etd](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/etd/32/5_2.png) [@etd](https://discuss.dradis.com/u/etd)\
**Post date:** [February 2, 2018, 1:53pm UTC](https://discuss.dradis.com/t/how-to-add-a-project-template-when-creating-a-dradis-project-using-the-dradis-http-api/481/3 "2018-02-02T13:53:34Z")

</div>

Hi @Cyborg244 we have working code for this now that will ship in the next release. Are you on the Slack group?
