Member Junction
    Preparing search index...

    Transport-neutral capture of an inbound webhook call. The consumer owns the HTTP server and builds this from the raw request; base-types stays web-framework-free.

    DECODING CONTRACT: Headers and QueryParams contain framework-DECODED values (what Express/Fastify hand you). Providers use them verbatim and never URL-decode again. RawBody is the exact raw body string, byte-for-byte - required for signature-verification schemes.

    type WebhookNotificationInput = {
        Headers: Record<string, string>;
        Method?: string;
        QueryParams: Record<string, string>;
        RawBody: string;
        RequestUrl?: string;
    }
    Index

    Properties

    Headers: Record<string, string>

    HTTP headers with header names lower-cased; values already framework-decoded.

    Method?: string

    The HTTP method of the inbound request.

    QueryParams: Record<string, string>

    Query-string parameters; values already framework-decoded - providers must not decode again.

    RawBody: string

    The exact raw body string, byte-for-byte.

    RequestUrl?: string

    The full public URL the notification was received on (used by signature schemes such as Twilio's, which sign the URL plus params).