# Detecting topic subscription

**URL:** <https://forums.losant.com/t/detecting-topic-subscription/3237>\
**Category:** Help\
**Tags:** mqtt\
**Created:** [September 1, 2020, 9:08pm UTC](https://forums.losant.com/t/detecting-topic-subscription/3237 "2020-09-01T21:08:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [September 1, 2020, 9:08pm UTC](https://forums.losant.com/t/detecting-topic-subscription/3237/1 "2020-09-01T21:08:03Z")

</div>

If I have a device that is subscribing to a custom topic, is there any way for me to know that the subscription happens in the Losant environment?

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [September 2, 2020, 2:34pm UTC](https://forums.losant.com/t/detecting-topic-subscription/3237/2 "2020-09-02T14:34:36Z")

</div>

@Lars_Andersson,

There is not currently a way for Losant to detect if a device has successfully subscribed to a custom MQTT topic.

I would suggest that, on your device, if a subscription to a specific topic is successful, to publish an MQTT message.

Let me know if you have any other questions.

Thank you,  
Heath
