webhook_validate
Validate webhook signatures using HMAC-SHA256 or HMAC-SHA1, with built-in support for Stripe, GitHub, and Slack to confirm authenticity and prevent forgery.
Instructions
Validate a webhook signature. Supports HMAC-SHA256 and HMAC-SHA1 with built-in patterns for Stripe, GitHub, and Slack.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | The webhook signing secret | |
| payload | Yes | The raw webhook payload body | |
| provider | No | Webhook provider for automatic format detection | |
| algorithm | No | Hash algorithm (default: sha256) | |
| signature | Yes | The signature to validate | |
| timestamp | No | Request timestamp (required for Slack) | |
| signature_format | No | Signature encoding (default: hex) | |
| tolerance_seconds | No | Max age of timestamp in seconds (default: 300) |