Skip to contents

Verify an incoming Webhook request signature and timestamp

Usage

verify_webhook_request(body_raw, sig_b64, timestamp_str, raw_key)

Arguments

body_raw

Raw bytes of the request body.

sig_b64

Base64-encoded signature from the x-mixi2-application-event-signature header.

timestamp_str

Unix timestamp string from the x-mixi2-application-event-timestamp header.

raw_key

Raw Ed25519 public key bytes.