Source type
Sanity Source Configuration
Sanity sources receive GROQ-powered content webhooks with timestamped Sanity webhook signature verification.
Sanity configuration
Create a Sanity source, keep POST and PUT and PATCH and DELETE enabled, and provide the configured Webhook Secret values for provider signature. FastHook uses these settings to validate each Sanity delivery before it enters the routing workflow.
Source TypeSANITY
Allowed methodsPOST, PUT, PATCH, DELETE
AuthenticationProvider signature
Credential fieldsWebhook Secret
{
"type": "SANITY",
"config": {
"auth_type": "PROVIDER_SIGNATURE",
"auth": {
"provider": "SANITY",
"webhook_signing_secret": "provider-secret"
},
"allowed_http_methods": ["POST","PUT","PATCH","DELETE"]
}
}Sanity request contract
FastHook signs timestamp + '.' + raw body with HMAC-SHA256, normalizes base64url, and compares it to the v1 signature.
Sanity headers
Preserve sanity-webhook-signature when sending Sanity test deliveries. FastHook evaluates this request context before accepting the payload, so missing or modified values remain visible as rejected requests instead of routed events.
sanity-webhook-signatureContains t timestamp and v1 base64url HMAC signature.
Sanity setup
- Create a Sanity webhook with the FastHook Source URL.
- Paste the Sanity webhook secret into FastHook.
- Route by dataset, project, or mutation information.