- Live under the
src/webhooks
directory - Have a
.webhook.ts
suffix. - Contain an
export default async function
that:
API
createWebhookHandler
– creates a webhook handlerupdateWebhookHandler
– updates a webhook handlerdeleteWebhookHandler
– deletes a webhook handler