Webhooks
Securing Endpoint
Securing webhook endpoints with signatures
Signature Verification
Caret secures webhooks using HMAC-SHA256 signatures.
Each webhook includes an X-Caret-Signature
header that you must verify.
Implementation Examples
Security Best Practices
- Store webhook secrets in environment variables
- Always use HTTPS endpoints
- Process each event only once using the
eventId
field - Respond quickly to webhook requests (process asynchronously)