# Reference more than one api as variable/enviroment in serverless.yml

**URL:** <https://forum.serverless.com/t/reference-more-than-one-api-as-variable-enviroment-in-serverless-yml/7816>\
**Category:** Serverless Framework\
**Created:** [March 27, 2019, 2:49pm UTC](https://forum.serverless.com/t/reference-more-than-one-api-as-variable-enviroment-in-serverless-yml/7816 "2019-03-27T14:49:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![majindageta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/majindageta/32/3200_2.png) [@majindageta](https://forum.serverless.com/u/majindageta)\
**Post date:** [April 8, 2019, 8:50am UTC](https://forum.serverless.com/t/reference-more-than-one-api-as-variable-enviroment-in-serverless-yml/7816/5 "2019-04-08T08:50:51Z")

</div>

Hello, I asked the same question here and got an answer by another user that solved my problem:

> [@Reference Websocket Api url in serverless.yml](http://forum.serverless.com/t/reference-websocket-api-url-in-serverless-yml/7829/2):
>
> Hi, have you tried to use WebsocketsApi ?

hope you find this useful.

Cheers and thanks to this wonderful community!

---

_[View the full topic](https://forum.serverless.com/t/reference-more-than-one-api-as-variable-enviroment-in-serverless-yml/7816)._
