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

# The Webhook Object

> Learn how the webhook object lets you receive event notifications at an endpoint URL you specify, for the set of event types you choose to subscribe to.

## The webhook Object

Represents a [webhook](https://docs.seam.co/developer-tools/webhooks) that enables you to receive notifications of events. When you create a webhook, specify the endpoint URL at which you want to receive events and the set of event types that you want to receive.

<ResponseExample>
  ```json Webhook theme={null}
  {
    "event_types": [
      "device.connected",
      "device.disconnected"
    ],
    "secret": "mySecret",
    "url": "https://example.com/webhook",
    "webhook_id": "ffe5cc3c-f3f4-48e8-b377-6f76c05d09a1"
  }
  ```
</ResponseExample>

***

## Properties

<ResponseField name="event_types" type="Array">
  Types of events that the [webhook](https://docs.seam.co/developer-tools/webhooks) should receive.
</ResponseField>

<ResponseField name="secret" type="String">
  Secret associated with the [webhook](https://docs.seam.co/developer-tools/webhooks).
</ResponseField>

<ResponseField name="url" type="String">
  URL for the [webhook](https://docs.seam.co/developer-tools/webhooks).
</ResponseField>

<ResponseField name="webhook_id" type="String">
  ID of the [webhook](https://docs.seam.co/developer-tools/webhooks).
</ResponseField>
