@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Interface WebhookRegistration

    Trusted provenance for an outbound task-status webhook registration.

    Registrations contain routing and mode provenance only, never callback credentials. Stores should still treat seller and callback URLs as operationally sensitive and omit them from public diagnostics.

    interface WebhookRegistration {
        agentId: string;
        agentUrl: string;
        protocol: "mcp" | "a2a";
        operationId: string;
        taskType: string;
        callbackUrl: string;
        method: "POST";
        mode: WebhookAuthenticationMode;
        authorizationContextVersion?: 1;
        delegatedOperatorAuthorization?: Readonly<
            DelegatedOperatorAuthorizationContext,
        >;
        previewMode?: "canonical"
        | "legacy";
        requiresDurableSettlement?: boolean;
        createdAt: number;
        expiresAt: number;
    }
    Index
    agentId: string
    agentUrl: string
    protocol: "mcp" | "a2a"
    operationId: string
    taskType: string
    callbackUrl: string
    method: "POST"
    authorizationContextVersion?: 1

    Versioned marker distinguishing tuple-aware registrations from legacy rows.

    delegatedOperatorAuthorization?: Readonly<DelegatedOperatorAuthorizationContext>

    Trusted local tuple used to re-authorize delegated seller keys after restart.

    previewMode?: "canonical" | "legacy"

    Originating preview API, persisted so async routing survives races and restarts.

    requiresDurableSettlement?: boolean

    Callback must fail closed unless a durable mutation-settlement route is recoverable.

    createdAt: number

    Epoch milliseconds.

    expiresAt: number

    Epoch milliseconds.