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

> Webhook status: active, stopped, or tooManyErrors

Webhook status: active, stopped, or tooManyErrors

## Syntax

```crmscript theme={null}
WebhookState
```

## Fields

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


## Related topics

- [Enum values for WebhookState](/en/database/tables/enums/webhookstate.md)
- [SuperOffice.WebApi.Data.WebhookState](/en/api/reference/webapi/SuperOffice.WebApi.Data.WebhookState.md)
- [Webhook table](/en/database/tables/webhook.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)
- [NSWebhook](/en/automation/crmscript/reference/CRMScript.NetServer.NSWebhook.md)
