The Twilio account Auth Token (the HMAC key; resolved upstream — never inlined).
The X-Twilio-Signature request header value.
The full request URL exactly as Twilio invoked it.
The POST form parameters Twilio sent.
true when the signature is valid; false otherwise (including a missing header).
Verifies a Twilio webhook request signature per Twilio's documented scheme:
key + valueconcatenated (no separators).X-Twilio-Signatureheader.A missing/empty signature header rejects. Comparison is constant-time (timingSafeEqual) to avoid leaking the expected signature via timing. Pure + exported so it unit-tests with a known vector and the MJAPI router calls it on every public Twilio endpoint (these can't carry an MJ JWT).