> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endstate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# WebhookParseError

> A verified webhook body was not an Endstate event envelope.

```ts theme={null}
class WebhookParseError extends EndstateError
```

## Example

```ts theme={null}
parseWebhook("{not json"); // throws WebhookParseError
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.