# Helix api, subscribe to multiple streamers

**URL:** <https://discuss.dev.twitch.com/t/helix-api-subscribe-to-multiple-streamers/16707>\
**Category:** API\
**Created:** [July 20, 2018, 10:58am UTC](https://discuss.dev.twitch.com/t/helix-api-subscribe-to-multiple-streamers/16707 "2018-07-20T10:58:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KadenLag](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/kadenlag/32/4567_2.png) [@KadenLag](https://discuss.dev.twitch.com/u/KadenLag)\
**Post date:** [July 20, 2018, 10:58am UTC](https://discuss.dev.twitch.com/t/helix-api-subscribe-to-multiple-streamers/16707/1 "2018-07-20T10:58:10Z")

</div>

I want to subscribe to multiple streamers instead of just one, not sure the command to do this, tried adding the extra id to the end of the hub.topic but it died. my axios call is below.  
i tried doing something like …“hub.topic”: ‘[https://api.twitch.tv/helix/streams?user\_id=14827261,240377874](https://api.twitch.tv/helix/streams?user_id=14827261,240377874)’  
this was based off of an old post but im sure its no longer relevant and that was also using kraken not helix.

```
axios({
  method: 'post',
  url: 'https://api.twitch.tv/helix/webhooks/hub',
  headers: {'client-ID': 'some cool client id number'},
  data: {
    "hub.callback": `http://${keys.baseCallback}/api/twitch/callback`,
    "hub.mode": 'subscribe',
    "hub.topic": 'https://api.twitch.tv/helix/streams?user_id=14827261',
    "hub.lease_seconds": 10000,
    "hub.secret": 'my super cool secret code'
  }
})
```

---

<div class="post-metadata">

**Author:** ![Syzuna](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/syzuna/32/3750_2.png) [@Syzuna](https://discuss.dev.twitch.com/u/Syzuna)\
**Post date:** [July 20, 2018, 11:44am UTC](https://discuss.dev.twitch.com/t/helix-api-subscribe-to-multiple-streamers/16707/2 "2018-07-20T11:44:39Z")

</div>

You cant bulk create webhook subscriptions.  
You need to do them 1 by 1

---

<div class="post-metadata">

**Author:** ![KadenLag](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/kadenlag/32/4567_2.png) [@KadenLag](https://discuss.dev.twitch.com/u/KadenLag)\
**Post date:** [July 23, 2018, 8:35am UTC](https://discuss.dev.twitch.com/t/helix-api-subscribe-to-multiple-streamers/16707/3 "2018-07-23T08:35:15Z")

</div>

ok thanks

---

<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 22, 2018, 8:49am UTC](https://discuss.dev.twitch.com/t/helix-api-subscribe-to-multiple-streamers/16707/4 "2018-08-22T08:49:21Z")

</div>

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