# Cant create Stack via API Call

**URL:** <https://forums.suse.com/t/cant-create-stack-via-api-call/4297>\
**Category:** General\
**Created:** [October 13, 2016, 1:38pm UTC](https://forums.suse.com/t/cant-create-stack-via-api-call/4297 "2016-10-13T13:38:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Lachner](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/robert_lachner/32/1704_2.png) [@Robert\_Lachner](https://forums.suse.com/u/Robert_Lachner)\
**Post date:** [October 13, 2016, 1:38pm UTC](https://forums.suse.com/t/cant-create-stack-via-api-call/4297/1 "2016-10-13T13:38:01Z")

</div>

Hi,

im trying to add a new Stack with the API.

Basically i’m using this with the API Editor  
POST /v1/projects//environments  
{  
name: “My App”,  
dockerCompose: “your docker-compose yaml”,  
}

So i choose “environment” in the editor and added some yaml from an existing stack to be sure.

I only see the new stack “initializing” but no services in it.

I’t can’t be so wrong because a new Stack is added but no Services with it.

Any ideas ?
