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

# Enum values for WebhookState

> Lists the enum values for WebhookState.

## WebhookState Enum

Webhook status - should we post events to the URL? 1=Active, 2=Stopped or 3=TooManyErrors

| Name          | Value | Description                                                               |
| ------------- | ----- | ------------------------------------------------------------------------- |
| Unknown       | 0     | 0: Unknown state                                                          |
| Active        | 1     | 1: Active - webhook is posting events to receiver                         |
| Stopped       | 2     | 2: Stopped - webhook has been turned off. Not posting events to receiver. |
| TooManyErrors | 3     | 3: Too many errors received - webhook has been turned off automatically.  |

## Usage

* [Webhook](../webhook).state - Webhook URL to call when events occur in the client or in NetServer. Also tracks call+error statistics.


## Related topics

- [Enum WebhookState](/en/automation/crmscript/reference/CRMScript.NetServer.WebhookState.md)
- [SuperOffice.WebApi.Data.WebhookState](/en/api/reference/webapi/SuperOffice.WebApi.Data.WebhookState.md)
- [Enum values for WebhookNotifyVia](/en/database/tables/enums/webhooknotifyvia.md)
- [SuperOffice.WebApi.Agents.WebhookAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.WebhookAgent.md)
- [SuperOffice.WebApi.Agents.IWebhookAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IWebhookAgent.md)
- [Enum values for WebhookNotifyWhen](/en/database/tables/enums/webhooknotifywhen.md)
