# I'm trying to call Homey Api on my backend server. Please help

**URL:** <https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459>\
**Category:** Developers\
**Created:** [April 1, 2024, 7:08am UTC](https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459 "2024-04-01T07:08:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Park\_YongKyu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/park_yongkyu/32/88432_2.png) [@Park\_YongKyu](https://community.homey.app/u/Park_YongKyu)\
**Post date:** [April 1, 2024, 7:08am UTC](https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459/1 "2024-04-01T07:08:25Z")

</div>

Hi I’m a beginner developer. I have a question.  
My backend server is a Java based spring boot server.  
I’m trying to call home api, but the official api document only has examples of node.js or javascript.

Is it possible to call homey api from spring boot to java in rest api or is it possible only by opening [socket.io](http://socket.io) to communicate?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [April 1, 2024, 8:52am UTC](https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459/2 "2024-04-01T08:52:06Z")

</div>

Is your question about examples available in another programming language, or about Homey supporting another communication protocol?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 1, 2024, 4:37pm UTC](https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459/3 "2024-04-01T16:37:17Z")

</div>

The WebAPI (http based REST API) is primary used for “official” access via Athom cloud. Therefore you need client ID/secret to use the API including oAuth authorization.

But…HomeyPro23 has a local API key generator for “local” API access to Homey itself (not via Athom cloud).  
If this is what you need, then you can use the http endpoints to call your Homey via LAN.  
Use the local API key as Bearer token.

WebAPI:

> **[Welcome to the Web API documentation 👋 | Homey Web API](https://api.developer.homey.app/)**
>
> 🌍 Learn how to build great integrations.

WebAPI SDK:

> **[HomeyAPIV3Cloud - Homey Web API](https://athombv.github.io/node-homey-api/HomeyAPIV3Cloud.html)**

Example: Get device list:

> **[ManagerDevices - Homey Web API](https://athombv.github.io/node-homey-api/HomeyAPIV3Cloud.ManagerDevices.html#getDevices)**

Take the URL for REST API:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b80612daa750d4832b71ce2aa0e1964473cc4ef5.png)

---

<div class="post-metadata">

**Author:** ![Park\_YongKyu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/park_yongkyu/32/88432_2.png) [@Park\_YongKyu](https://community.homey.app/u/Park_YongKyu)\
**Post date:** [April 4, 2024, 7:22am UTC](https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459/4 "2024-04-04T07:22:39Z")

</div>

Thank you from the bottom of my heart to everyone who answered. Resolved it.
