Interface IWebhook
Represents a webhook configuration for sending HTTP callbacks when events occur.
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public interface IWebhook : IEntity, IDeepCloneable
Properties
View SourceContentTypeKeys
Gets or sets the array of content type keys that this webhook is filtered by.
Declaration
Guid[] ContentTypeKeys { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid[] |
Description
Gets or sets the description of the webhook.
Declaration
string? Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Enabled
Gets or sets a value indicating whether the webhook is enabled.
Declaration
bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Events
Gets or sets the array of event names that this webhook subscribes to.
Declaration
string[] Events { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Headers
Gets or sets the custom HTTP headers to include with the webhook request.
Declaration
IDictionary<string, string> Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Gets or sets the display name of the webhook.
Declaration
string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Url
Gets or sets the URL to which the webhook payload will be sent.
Declaration
string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |