@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Class VerifiedWebhookExperimental

    A webhook delivery whose signature the SDK verified. Build it with VerifiedWebhook.fromOutcome from a successful verifyWebhookSignature / createWebhookVerifier result (RFC 9421) or a verifyWebhookRequest result with ok: true. handleWebhook takes only this type, and checks at runtime that the SDK built it, so an unverified body never reaches the poller.

    Reporting subscriptions (AdCP 3.3).

    Index
    "[VERIFIED]": true
    payload: unknown

    The delivery body. Never event content: it only says that something changed.

    senderIdentity: string

    Who signed it: the RFC 9421 agent_url or keyid, or 'hmac' for the legacy profile.

    • Experimental

      From a verification that succeeded; anything else throws.

      Parameters

      • verification: VerifyWebhookResult | VerifyWebhookRequestResult
      • payload: unknown

      Returns VerifiedWebhook