# Programmatically create and manage apps

**URL:** <https://community.fly.io/t/programmatically-create-and-manage-apps/1736>\
**Category:** General\
**Created:** [June 19, 2021, 1:33am UTC](https://community.fly.io/t/programmatically-create-and-manage-apps/1736 "2021-06-19T01:33:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmencz](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/gmencz/32/769_2.png) [@gmencz](https://community.fly.io/u/gmencz)\
**Post date:** [June 19, 2021, 1:33am UTC](https://community.fly.io/t/programmatically-create-and-manage-apps/1736/1 "2021-06-19T01:33:53Z")

</div>

Hello there, I’m building a platform where users can deploy a websocket server along with a redis instance by simply clicking a button, ideally I’d like to build my platform with fly but I don’t see an API I can use to create apps, manage their environment variables, etc. Is this currently possible?

---

<div class="post-metadata">

**Author:** ![thomas](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/thomas/32/40188_2.png) [@thomas](https://community.fly.io/u/thomas)\
**Post date:** [June 19, 2021, 2:06am UTC](https://community.fly.io/t/programmatically-create-and-manage-apps/1736/2 "2021-06-19T02:06:59Z")

</div>

It is. In fact, everything the `flyctl` command (which is open source) does, it does through our GraphQL API. You can find our GQL schema here:

[https://api.fly.io/graphql](https://api.fly.io/graphql)

And, if you’re interested in seeing what `flyctl` is actually doing with the API for any given command, you can find its source here:

> **[GitHub - superfly/flyctl: Command line tools for fly.io services](https://github.com/superfly/flyctl)**
>
> Command line tools for fly.io services. Contribute to superfly/flyctl development by creating an account on GitHub.

Let us know if you have questions! If you search the forum for “GraphQL” or “API”, you’ll find other people using it as well.

---

<div class="post-metadata">

**Author:** ![gmencz](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/gmencz/32/769_2.png) [@gmencz](https://community.fly.io/u/gmencz)\
**Post date:** [June 19, 2021, 2:09am UTC](https://community.fly.io/t/programmatically-create-and-manage-apps/1736/3 "2021-06-19T02:09:09Z")

</div>

Oh wow, that’s **AWESOME** to hear! Thank you so much.
