Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 450 Bytes

webhook_docs.md

File metadata and controls

24 lines (19 loc) · 450 Bytes

Webhook Documentation

Get Webhook Subscriptions

This is an example of how to get webhook subscriptions.

client, err := helix.NewClient(&helix.Options{
    ClientID: "your-client-id",
    AppAccessToken: "your-app-access-token",
})
if err != nil {
    // handle error
}

resp, err := client.GetWebhookSubscriptions(&helix.WebhookSubscriptionsParams{
    First: 10,
})
if err != nil {
    // handle error
}

fmt.Printf("%+v\n", resp)