Parse Unverified
client.Beta.Webhooks.ParseUnverified(ctx) errorParses a webhook payload into an event without verifying its signature. Prefer unwrap() unless
you have already verified the signature yourself.
Parse Unverified
package main
import (
"context"
"github.com/anthropics/anthropic-sdk-go"
"github.com/anthropics/anthropic-sdk-go/option"
)
func main() {
client := anthropic.NewClient(
option.WithAPIKey("my-anthropic-api-key"),
)
err := client.Beta.Webhooks.ParseUnverified(context.TODO())
if err != nil {
panic(err.Error())
}
}