Parses a webhook payload into an event without verifying its signature. Prefer unwrap() unless
you have already verified the signature yourself.
Parameters
Returns
Parse Unverified
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
# `payload` is the raw body of the incoming webhook request.
event = anthropic.beta.webhooks.parse_unverified(payload)
puts(event)