Interface AppWebhookInterface

AppWebhook entity interface

Mirrors macs-node-sdk/lib/app/models/app-webhook.js. Note the field is singular event, not events[] — the schema only supports a single event per webhook today.

interface AppWebhookInterface {
    external_id?: string;
    extensors?: { [key: string]: string };
    record_history?: RecordHistory;
    id?: string;
    app: string;
    org?: string;
    user?: string;
    agent?: string;
    url: string;
    event?: "REQUEST";
    headers?: string;
    tags?: string[];
    active?: boolean;
}

Hierarchy (View Summary)

Properties

external_id?: string

External system identifier for integration with third-party systems

extensors?: { [key: string]: string }

Extended properties for custom integrations

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the entity

app: string

App this webhook belongs to (required)

org?: string
user?: string
agent?: string
url: string

Callback URL the app invokes (required)

event?: "REQUEST"

Event name that triggers the webhook (singular)

headers?: string

Raw HTTP headers to forward (string form)

tags?: string[]
active?: boolean

Whether the entity is active