# Some Clarity on MQTT Topics

**URL:** <https://www.thethingsnetwork.org/forum/t/some-clarity-on-mqtt-topics/44226>\
**Category:** Application Development\
**Created:** [February 13, 2021, 11:35am UTC](https://www.thethingsnetwork.org/forum/t/some-clarity-on-mqtt-topics/44226 "2021-02-13T11:35:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![CambridgeSensorNetwo](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cambridgesensornetwo/32/36349_2.png) [@CambridgeSensorNetwo](https://www.thethingsnetwork.org/forum/u/CambridgeSensorNetwo)\
**Post date:** [February 16, 2021, 9:34am UTC](https://www.thethingsnetwork.org/forum/t/some-clarity-on-mqtt-topics/44226/2 "2021-02-16T09:34:57Z")

</div>

actually both the topic format and message format are substantially ‘breaking changes’ v2 → v3. E.g. for basic data uplinks:

**V2 topic:**  
`<ttn app id>/devices/<ttn device id>/up`

**V3 topic:**  
`v3/<ttn app id><at symbol>ttn/devices/<ttn device id>/up`

**V2 message key field jsonpaths:**  
`<ttn device id> = .dev_id`  
`<ttn app id> = .app_id`  
`<payload> = .payload_raw`

**v3 message key field jsonpaths:**  
`<ttn device id> = .end_device_ids.device_id`  
`<ttn app id> = .end_device_ids.application_ids.application_id` (not including the `<at symbol>`ttn in the topic)  
`<payload> = .uplink_message.frm_payload`

Presumably these fundamental changes must be documented somewhere, and when I find that I’ll post it here (or anyone else?). Maybe I’ve misunderstood things and there’s no real ‘migration’ but it’s a “new network” so just read the docs and rebuild for it.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/some-clarity-on-mqtt-topics/44226)._
