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

# Create inbound client

> Build a WebhookInboundClient from an authenticated Luma instance using luma.webhooks.client() to verify signed inbound event payloads.

<Badge color="purple">SDK</Badge> `luma.webhooks.client(options: WebhookInboundClientOptions): WebhookInboundClient`

Returns a `WebhookInboundClient` for verifying incoming events.

<RequestExample>
  ```typescript Example theme={null}
  const webhook = new Luma(process.env.LUMA_API_KEY!).webhooks.client({
    secret: process.env.LUMA_WEBHOOK_SECRET!,
  });
  ```
</RequestExample>

<ResponseExample>
  ```typescript Response theme={null}
  const webhook: WebhookInboundClient;
  ```
</ResponseExample>

### Parameters

<ParamField path="options" type="WebhookInboundClientOptions" required>
  Inbound client configuration.

  <Expandable title="WebhookInboundClientOptions properties">
    <ParamField path="secret" type="string" required>
      Webhook signing secret from `webhooks.create()`.
    </ParamField>

    <ParamField path="tolerance" type="number">
      Optional timestamp tolerance in seconds for signature verification.
    </ParamField>
  </Expandable>
</ParamField>

### Test it

```typescript theme={null}
const webhook = luma.webhooks.client({
  secret: process.env.LUMA_WEBHOOK_SECRET!,
});
console.log("Inbound client ready");
```
