@adcp/sdk API Reference - v10.0.1
    Preparing search index...

    Interface VerifyAndParseWebhookOptions

    interface VerifyAndParseWebhookOptions {
        rawBody?: string | Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>;
        body?: unknown;
        payload?: unknown;
        headers?: WebhookHeadersLike;
        taskType?: string;
        operationId?: string;
        signature?: WebhookHeaderValue;
        timestamp?: WebhookHeaderValue;
    }
    Index

    Properties

    rawBody?: string | Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>

    Raw HTTP body bytes captured before JSON parsing. Required when webhookSecret is configured.

    body?: unknown

    Parsed payload or raw body. When HMAC is configured, verified raw bytes are parsed instead of payload.

    payload?: unknown

    Parsed protocol payload.

    headers?: WebhookHeadersLike

    Header bag from the receiver framework. Used for HMAC verification when configured.

    taskType?: string

    Task type from trusted routing context. Used as an A2A fallback.

    operationId?: string

    Operation id from trusted routing context. Used as an A2A fallback.

    signature?: WebhookHeaderValue

    Explicit legacy HMAC signature header value.

    timestamp?: WebhookHeaderValue

    Explicit legacy HMAC timestamp header value.