# Web API in SDKv3 and access

**URL:** <https://community.homey.app/t/web-api-in-sdkv3-and-access/47367>\
**Category:** Developers\
**Created:** [May 13, 2021, 10:12am UTC](https://community.homey.app/t/web-api-in-sdkv3-and-access/47367 "2021-05-13T10:12:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ethaniael](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ethaniael/32/16580_2.png) [@Ethaniael](https://community.homey.app/u/Ethaniael)\
**Post date:** [May 13, 2021, 10:12am UTC](https://community.homey.app/t/web-api-in-sdkv3-and-access/47367/1 "2021-05-13T10:12:33Z")

</div>

Hi,

In SDKv2, I used a parameter to be able to switch (with a restart) between private or public API, in api.js :

` public: Homey.ManagerSettings.get('publicAPI') === null ? false : Homey.ManagerSettings.get('publicAPI'),`

With SDKv3, this moved to app.json ; I’m looking for a way to do something similar in SDKv3. Do you have any idea ? Thanks

Thomas
