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

# SuperOffice.WebApi.Data.WebhookNotifyWhen

# <a id="SuperOffice_WebApi_Data_WebhookNotifyWhen" /> Enum WebhookNotifyWhen

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

How to notify recipients when a webhook changes state
This Enum is used by:  Webhook.notify\_when
This Enum consists of flag values that can be combined.

```csharp theme={null}
[Flags]
public enum WebhookNotifyWhen : short
```

## Fields

`Disabling = 2`

2: 2: Notify when webhook is disabled due to too many errors

`FirstFailure = 1`

1: 1: Notify on first failure

`None = 0`

0: 0: No notifications


## Related topics

- [SuperOffice.WebApi.Data.Webhook](/en/api/reference/webapi/SuperOffice.WebApi.Data.Webhook.md)
- [SuperOffice.WebApi.Data.WebhookNotifyVia](/en/api/reference/webapi/SuperOffice.WebApi.Data.WebhookNotifyVia.md)
- [WebAPI changes in SuperOffice 12.0](/release-notes/12/api/changes-webapi-12.0.342.0.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)
- [SuperOffice.WebApi.Data.UserPreferenceStrings.Mail](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserPreferenceStrings.Mail.md)
