Skip to content

@kindgi/sdk/webhooks

View as Markdown

@kindgi/sdk/webhooks — receiving Kindgi's webhooks. Server only: it uses node:crypto, so it stays out of /client (browser-safe) and the flat barrel.

Re-exports the Standard Webhooks helpers from @kindgi/crypto: verifyWebhook for a receiver, generateWebhookSecret for the secret an app registers by name, and signWebhook / webhookHeaders to test a receiver. parseEvent reads the typed event from a verified body (WebhookEvent; a run's id is a RunId, for client.runs.get).