# V3 REST Api to deploy app from template

**URL:** <https://forums.suse.com/t/v3-rest-api-to-deploy-app-from-template/14669>\
**Category:** General\
**Created:** [June 28, 2019, 2:18pm UTC](https://forums.suse.com/t/v3-rest-api-to-deploy-app-from-template/14669 "2019-06-28T14:18:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![np97190](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/np97190/32/5361_2.png) [@np97190](https://forums.suse.com/u/np97190)\
**Post date:** [June 28, 2019, 2:18pm UTC](https://forums.suse.com/t/v3-rest-api-to-deploy-app-from-template/14669/1 "2019-06-28T14:18:26Z")

</div>

Hi,

I am trying to create app using v3 api. I’m making a post call to https://{instance\_address}/v3/project/{project id}/apps with json data

{  
“name”:“app-1234”,  
“namespace”: “app-1234”  
}

it is creating an empty app but I am unable to find parameter to pass template to deploy along with this payload.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [June 28, 2019, 8:00pm UTC](https://forums.suse.com/t/v3-rest-api-to-deploy-app-from-template/14669/2 "2019-06-28T20:00:35Z")

</div>

Set `externalId` of the app to the`externalId` of a templateVersion (`/v3/templates` -\> pick a template, click on one of the `versionLinks`, get `externalId` of that version)

---

<div class="post-metadata">

**Author:** ![np97190](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/np97190/32/5361_2.png) [@np97190](https://forums.suse.com/u/np97190)\
**Post date:** [July 1, 2019, 11:50am UTC](https://forums.suse.com/t/v3-rest-api-to-deploy-app-from-template/14669/3 "2019-07-01T11:50:31Z")

</div>

Vincent. Thanks for the direction, it helped.  
I am able to deploy catalog now.

---

<div class="post-metadata">

**Author:** ![dat2492](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@dat2492](https://forums.suse.com/u/dat2492)\
**Post date:** [November 24, 2020, 5:56am UTC](https://forums.suse.com/t/v3-rest-api-to-deploy-app-from-template/14669/4 "2020-11-24T05:56:01Z")

</div>

Hi, I’m new to rancher and I still have no idea how to deploy an app using API so can you tell me more in details ?  
What can I do after getting externalId ?  
Thanks in advance.
