# Querying modes in webhook smartapp API

**URL:** <https://community.smartthings.com/t/querying-modes-in-webhook-smartapp-api/147356>\
**Category:** Writing SmartApps\
**Created:** [December 23, 2018, 1:41am UTC](https://community.smartthings.com/t/querying-modes-in-webhook-smartapp-api/147356 "2018-12-23T01:41:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jim](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jim/32/15313_2.png) [@Jim](https://community.smartthings.com/u/Jim)\
**Post date:** [December 24, 2018, 4:44pm UTC](https://community.smartthings.com/t/querying-modes-in-webhook-smartapp-api/147356/2 "2018-12-24T16:44:14Z")

</div>

> [@chetstone](#):
>
> OK I’ve got my example color weather light smartapp working, but I’d like to disable it in certain Modes (e.g. Away, Night, etc.). I haven’t found any way to subscribe to or poll the current mode of the hub in the new API.

You’re not missing anything - the APIs to work with modes are not public at this time. I’ll pass this on again to our product team, but it would be good if you also open a [developer support ticket](https://smartthings.developer.samsung.com/support) so it can be tracked.

---

_[View the full topic](https://community.smartthings.com/t/querying-modes-in-webhook-smartapp-api/147356)._
