# Authorization denied on subscriber webhooks

**URL:** <https://staging-discuss.dev.twitch.com/t/authorization-denied-on-subscriber-webhooks/26090>\
**Category:** API\
**Created:** [June 3, 2020, 3:18pm UTC](https://staging-discuss.dev.twitch.com/t/authorization-denied-on-subscriber-webhooks/26090 "2020-06-03T15:18:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lazare\_Vermeire](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/lazare_vermeire/32/8797_2.png) [@Lazare\_Vermeire](https://staging-discuss.dev.twitch.com/u/Lazare_Vermeire)\
**Post date:** [June 3, 2020, 3:18pm UTC](https://staging-discuss.dev.twitch.com/t/authorization-denied-on-subscriber-webhooks/26090/1 "2020-06-03T15:18:58Z")

</div>

Hello Twitch Community !

I have a bit of a misunderstanding on the API documentation. I can easily ask the subscription for the webhooks on the Follow, Stream and Cheer methods. Unfortunatly, everytime I ask for the subsciption for the subs, I get this from Twitch :

hub.mode -\> denied  
hub.reason -\> unauthorized  
hub.topic -\> [https://api.twitch.tv/helix/subscriptions/events?broadcaster\_id=(my\_user\_id)&first=1](https://api.twitch.tv/helix/subscriptions/events?broadcaster_id=(my_user_id)&first=1)

When I check for the validation of my token, I have this :  
{“client\_id”:“my\_client\_id”,“scopes”:[“bits:read”,“channel:read:subscriptions”],“expires\_in”:5277071}

I use a “credit:credentials” OAuth token to get connected. I do not know if this has an impact on the request.

This is very strange, because it seems that I can have my channel subs but not in the Webhook mode.

Do you have any clue where this can come from ?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 3, 2020, 5:53pm UTC](https://staging-discuss.dev.twitch.com/t/authorization-denied-on-subscriber-webhooks/26090/2 "2020-06-03T17:53:48Z")

</div>

> [@Lazare\_Vermeire](#):
>
> When I check for the validation of my token, I have this :  
> {“client\_id”:“my\_client\_id”,“scopes”:[“bits:read”,“channel:read:subscriptions”],“expires\_in”:5277071}
> 
> I use a “credit:credentials” OAuth token to get connected. I do not know if this has an impact on the request.

Yes, Client Credentials doesn’t represent a user.

You need a user token and you didn’t ask for the subscriptions scope.

You need a user token, with the subscriptions scope applied to it.

> **[Getting OAuth Access Tokens](https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/)**
>
> Getting OAuth Access Tokens

> [@Lazare\_Vermeire](#):
>
> I can easily ask the subscription for the webhooks on the Follow, Stream and Cheer methods

Errr, there is no cheer webhook topic…

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [July 3, 2020, 5:53pm UTC](https://staging-discuss.dev.twitch.com/t/authorization-denied-on-subscriber-webhooks/26090/3 "2020-07-03T17:53:51Z")

</div>

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