Verify a webhook signature
verify_webhook_signatureCheck whether a webhook signature is valid for a raw body and a secret, and diagnose why it fails (wrong secret, whitespace, re-serialized JSON body, expired timestamp, wrong URL for Twilio). Providers: stripe, github, shopify, slack, twilio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Twilio only: the full URL Twilio called | |
| secret | Yes | ||
| provider | Yes | ||
| raw_body | Yes | The raw request body exactly as received | |
| signature | Yes | The signature header value (Stripe-Signature, X-Hub-Signature-256, X-Shopify-Hmac-Sha256, X-Slack-Signature, X-Twilio-Signature) | |
| timestamp | No | Slack only: X-Slack-Request-Timestamp |