Use the signing secret shown when you create or rotate the endpoint. It is separate from your API key.
TypeScript
WebhookVerificationError in your route and return HTTP 400 without processing the request. For valid deliveries, validate the event shape, deduplicate webhook-id, and persist work before returning 2xx.