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

# Webhook Endpoint object

A Webhook Endpoint represents a configured webhook destination within the Fintoc API. It holds the URL where events are sent and the list of events that trigger a notification.

```json theme={null}
{
  "id": "we_8anBkrZH8YJZ9X4z",
  "object": "webhook_endpoint",
  "created_at": "2021-11-11T02:29:16Z",
  "description": "Production payments webhook",
  "enabled_events": [
    "payment_intent.succeeded",
    "payment_intent.failed"
  ],
  "mode": "live",
  "secret": "whsec_3o9rZ4xKbT1VcJzuDgpm4H",
  "status": "enabled",
  "url": "https://example.com/webhooks/fintoc"
}
```

| Attribute        | Type            | Description                                                                                                                                                                                                                                          |
| :--------------- | :-------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`             | `string`        | Unique identifier for the Webhook Endpoint                                                                                                                                                                                                           |
| `object`         | `string`        | Identifier for the type of object. Its value for `Webhook Endpoints` will always correspond to `webhook_endpoint`                                                                                                                                    |
| `created_at`     | `string`        | `Webhook Endpoint`'s creation date, using ISO 8601                                                                                                                                                                                                   |
| `description`    | `string`        | Optional description about the Webhook Endpoint's purpose                                                                                                                                                                                            |
| `enabled_events` | `Array[string]` | Events that will be sent to the Webhook Endpoint                                                                                                                                                                                                     |
| `mode`           | `string`        | Indicates whether the `Webhook Endpoint` is in `live` mode or in `test` mode (for the sandbox)                                                                                                                                                       |
| `secret`         | `string`        | Token used by Fintoc to generate webhook signatures. This is the token you should use to validate that a webhook was sent by Fintoc. This field is only sent when creating the Webhook Endpoint. Further requests always return this field as `null` |
| `status`         | `string`        | Indicates whether the Webhook Endpoint is active (`enabled`) or inactive (`disabled`)                                                                                                                                                                |
| `url`            | `string`        | The URL associated to the webhook to which the events will be sent                                                                                                                                                                                   |
