@adcp/sdk API Reference - v14.0.0-beta.6
    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;
        previewMode?: "canonical" | "legacy";
        requiresDurableSettlement?: boolean;
        createdAt: number;
        expiresAt: number;
    }
    Index

    Properties

    agentId: string
    agentUrl: string
    protocol: "mcp" | "a2a"
    operationId: string
    taskType: string
    callbackUrl: string
    method: "POST"
    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.