> ## 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.

# Get webhook endpoint

> Retrieve a single Luma webhook endpoint by its ID with luma.webhooks.get(), returning the URL, subscribed event types, and active status.

<Badge color="purple">SDK</Badge> `luma.webhooks.get(id: string): Promise<Webhook>`

Returns a single webhook endpoint by ID.

<RequestExample>
  ```typescript Example theme={null}
  const endpoint = await luma.webhooks.get("whk-abc123");
  console.log(endpoint.url);
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "api_id": "whk-abc123",
    "url": "https://myapp.com/api/luma-webhook",
    "event_types": ["guest.updated", "guest.registered"]
  }
  ```
</ResponseExample>

### Parameters

<ParamField path="id" type="string" required>
  Webhook endpoint `api_id` from `webhooks.create()` or `webhooks.list()`.
</ParamField>

### Test it

Use a webhook ID from your account — run `webhooks.list()` to find one:

```typescript theme={null}
const endpoint = await luma.webhooks.get("whk-abc123");
console.log(endpoint.url);
```
