Trying to remove webhook subscription

Trying to remove a webhook subscription. Get 202 Accepted, but the subscription is not removed.

i post to this address: https://api.twitch.tv/helix/webhooks/hub
i post this:
{
“hub.callback”:“https://***/webhook/54739364”,
“hub.mode”:“unsubscribe”,
“hub.topic”:“https://api.twitch.tv/helix/streams?user_id=54739364”,
“hub.lease_seconds”:“864000”
}

When you send this request.

The Twitch API will send a request to your callback URL with a challenge.

You need to reply with the challenge.

Destroying a subscription, works identically to creating one.

  • POST to Twitch
  • Twitch GET’s to you with a challenge,
  • You echo back the challenge
1 Like

Your reply made me check the response on the webserver and i found it only replied to subscribe events. Thanks!

1 Like

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