# Helix Get follower user name from user ID number

**URL:** <https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874>\
**Category:** API\
**Created:** [July 30, 2018, 6:21pm UTC](https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874 "2018-07-30T18:21:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lilrex](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/lilrex/32/4782_2.png) [@Lilrex](https://discuss.dev.twitch.com/u/Lilrex)\
**Post date:** [July 30, 2018, 6:21pm UTC](https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874/1 "2018-07-30T18:21:28Z")

</div>

I am working on getting new followers to a channel and I am able to get the User ID number from the return object, but using that “from\_id” I tried doing a GET [https://api.twitch.tv/helix/users/](https://api.twitch.tv/helix/users/)?client-ID=XXXXX…

but it returned an error.

I see in Karken you are able to do GET [https://api.twitch.tv/kraken/users/](https://api.twitch.tv/kraken/users/) and get back  
:"\_id": “44322889”,  
“bio”: “Just a gamer playing games and chatting. :)”,  
“created\_at”: “2013-06-03T19:12:02.580593Z”,  
“display\_name”: “dallas”,  
“logo”: “[https://static-cdn.jtvnw.net/jtv\_user\_pictures/dallas-profile\_image-1a2c906ee2c35f12-300x300.png](https://static-cdn.jtvnw.net/jtv_user_pictures/dallas-profile_image-1a2c906ee2c35f12-300x300.png)”,  
“name”: “dallas”,  
“type”: “staff”,  
“updated\_at”: “2016-12-13T16:31:55.958584Z”

where i can pull out the display\_name from there. Is this doable in Helix? am I just making a bad syntax call?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [July 30, 2018, 6:59pm UTC](https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874/2 "2018-07-30T18:59:52Z")

</div>

> [@Lilrex](#):
>
> I tried doing a GET [https://api.twitch.tv/helix/users/?client-ID=XXXXX…](https://api.twitch.tv/helix/users/?client-ID=XXXXX%E2%80%A6)
> 
> but it returned an error.

Your `Client-ID` should be sent as a header, not a querystrnig parameter like the User ID which is sent as the `id` querystring parameter.

---

<div class="post-metadata">

**Author:** ![Lilrex](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/lilrex/32/4782_2.png) [@Lilrex](https://discuss.dev.twitch.com/u/Lilrex)\
**Post date:** [July 30, 2018, 7:03pm UTC](https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874/3 "2018-07-30T19:03:19Z")

</div>

noted, but is it possible to get a persons username in helix from their ID?

And thank you for assisting.

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [July 30, 2018, 7:20pm UTC](https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874/4 "2018-07-30T19:20:10Z")

</div>

> [@Lilrex](#):
>
> noted, but is it possible to get a persons username in helix from their ID?

Yes, like I just said, send the request with the `id` parameter and you’ll get a response along the lines of:

```auto
{
  "data": [{
    "id": "44322889",
    "login": "dallas",
    "display_name": "dallas",
    "type": "staff",
    "broadcaster_type": "",
    "description": "Just a gamer playing games and chatting. :)",
    "profile_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/dallas-profile_image-1a2c906ee2c35f12-300x300.png",
    "offline_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/dallas-channel_offline_image-1a2c906ee2c35f12-1920x1080.png",
    "view_count": 191836881,
    "email": "login@provider.com"
  }]
}

```

`Login` is their username.

---

<div class="post-metadata">

**Author:** ![Lilrex](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/lilrex/32/4782_2.png) [@Lilrex](https://discuss.dev.twitch.com/u/Lilrex)\
**Post date:** [July 30, 2018, 7:20pm UTC](https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874/5 "2018-07-30T19:20:32Z")

</div>

thank you very much Dist.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [August 29, 2018, 7:20pm UTC](https://discuss.dev.twitch.com/t/helix-get-follower-user-name-from-user-id-number/16874/6 "2018-08-29T19:20:36Z")

</div>

Closed on August 29, 2018, 7:20pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
