Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    ContentTypeKeys

    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[]
    View Source

    Description

    Gets or sets the description of the webhook.

    Declaration
    string? Description { get; set; }
    Property Value
    Type Description
    string
    View Source

    Enabled

    Gets or sets a value indicating whether the webhook is enabled.

    Declaration
    bool Enabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Events

    Gets or sets the array of event names that this webhook subscribes to.

    Declaration
    string[] Events { get; set; }
    Property Value
    Type Description
    string[]
    View Source

    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>
    View Source

    Name

    Gets or sets the display name of the webhook.

    Declaration
    string? Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    Url

    Gets or sets the URL to which the webhook payload will be sent.

    Declaration
    string Url { get; set; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX