---
title: Parse Unverified
url: https://platform.claude.com/docs/en/api/php/beta/webhooks/parse_unverified
---

# Parse Unverified

`$client->beta->webhooks->parseUnverified(string body): BetaWebhookEvent`

Parses a webhook payload into an event without verifying its signature. Prefer `unwrap()` unless
you have already verified the signature yourself.

## Parameters

- `body: string`

  The raw JSON body of the incoming webhook request.

## Returns

- `class BetaWebhookEvent`

  - `"event" type`

    Object type. Always `event` for webhook payloads.

  - `string id`

    Unique event identifier for idempotency.

  - `\Datetime createdAt`

    RFC 3339 timestamp when the event occurred.

  - `BetaWebhookEventData data`

## Example

```php
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;

$client = new Client(apiKey: 'my-anthropic-api-key');

// $body is the raw body of the incoming webhook request.
$event = $client->beta->webhooks->parseUnverified($body);

var_dump($event);
```
