# Uplink - Include information obtained from TTN API

**URL:** <https://www.thethingsnetwork.org/forum/t/uplink-include-information-obtained-from-ttn-api/52884>\
**Category:** End Devices (Nodes)\
**Created:** [November 3, 2021, 6:20am UTC](https://www.thethingsnetwork.org/forum/t/uplink-include-information-obtained-from-ttn-api/52884 "2021-11-03T06:20:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aweichbrodt](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/aweichbrodt/32/35697_2.png) [@aweichbrodt](https://www.thethingsnetwork.org/forum/u/aweichbrodt)\
**Post date:** [November 3, 2021, 6:20am UTC](https://www.thethingsnetwork.org/forum/t/uplink-include-information-obtained-from-ttn-api/52884/1 "2021-11-03T06:20:07Z")

</div>

I am trying to figure out how to get the modifiable “End device name” of the TTN console included in the uplink message.

With following GET request, I can obtain the “End device name”.

```auto
$ curl --location --header "Authorization: Bearer NNSXS.XXXXXXXXX" "https://thethings.example.com/api/v3/applications/app1/devices/dev1?field_mask=name"

```

I struggle to include an API query in the uplink payload formatter. Any help and indications to analog examples and documentation are highly appreciated.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 3, 2021, 9:05am UTC](https://www.thethingsnetwork.org/forum/t/uplink-include-information-obtained-from-ttn-api/52884/2 "2021-11-03T09:05:09Z")

</div>

Closing as an egregious double-post.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 3, 2021, 9:05am UTC](https://www.thethingsnetwork.org/forum/t/uplink-include-information-obtained-from-ttn-api/52884/3 "2021-11-03T09:05:12Z")

</div>


