# How to use node-red API

**URL:** <https://discourse.nodered.org/t/how-to-use-node-red-api/7413>\
**Category:** General\
**Created:** [30 January 2019 23:56 UTC](https://discourse.nodered.org/t/how-to-use-node-red-api/7413 "2019-01-30T23:56:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![krunal](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@krunal](https://discourse.nodered.org/u/krunal)\
**Post date:** [30 January 2019 23:56 UTC](https://discourse.nodered.org/t/how-to-use-node-red-api/7413/1 "2019-01-30T23:56:34Z")

</div>

Hello Team,

I am trying to use vue Js as frontend and node-red as backend , May I know how to access node-red api or any other to establish connection between them.

Thanks,  
Krunal Trivedi

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [31 January 2019 00:07 UTC](https://discourse.nodered.org/t/how-to-use-node-red-api/7413/2 "2019-01-31T00:07:03Z")

</div>

Hi,

Which API do you mean? Do you want to create your own vue.js flow editor? Or do you mean you want to host a custom vue.js site in node-red that is able to call flows in the runtime?

---

<div class="post-metadata">

**Author:** ![krunal](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@krunal](https://discourse.nodered.org/u/krunal)\
**Post date:** [31 January 2019 00:13 UTC](https://discourse.nodered.org/t/how-to-use-node-red-api/7413/3 "2019-01-31T00:13:18Z")

</div>

Hello,

Thank you for getting back, I am having my own vue js editor which will call node-red api to run different flows and reflect back to vue. So should i use uibuilder or any other way which i can pass message between them?

Thanks,  
Kruanl Trivedi

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [31 January 2019 14:18 UTC](https://discourse.nodered.org/t/how-to-use-node-red-api/7413/4 "2019-01-31T14:18:50Z")

</div>

uibuilder will give you a simple framework to communicate between your front-end and Node-RED flows. But it sounds like you want to edit flows via your front-end which would be a different requirement altogether.

Potentially, you could use uibuilder to drive the front-end and create a flow that updates flows from Node-RED itself. so that would be one approach and probably the easiest to get going.

Otherwise you will need to put admin API calls into your front-end code - you can still use uibuilder to help you get going and to provide the web server.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [31 January 2019 14:48 UTC](https://discourse.nodered.org/t/how-to-use-node-red-api/7413/5 "2019-01-31T14:48:16Z")

</div>

Please don't ask the same question on the forum and on the slack channel, it just dilutes the efforts of people trying to help you

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [1 February 2019 09:07 UTC](https://discourse.nodered.org/t/how-to-use-node-red-api/7413/6 "2019-02-01T09:07:57Z")

</div>

Good point, though some of us don't get the time to look at both I'm afraid.
