clerk-webhooks

Implement Clerk webhook handlers with signature verification for Next.js app router routes.

66|4|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/clerk/skills --skill clerk-webhooks-clerk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clerk-webhooks
Source: https://github.com/clerk/skills/tree/main/skills/features/clerk-webhooks
Command: npx skills add https://github.com/clerk/skills --skill clerk-webhooks-clerk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Secure, ready-to-use webhook handlers for Clerk events with signature verification, enabling reliable real-time integrations without building from scratch.

Core Features & Use Cases

  • Verifies webhook signatures using verifyWebhook(req) and exposes public routes suitable for Svix/Clerk deliveries.
  • Handles a comprehensive set of events including user.created, user.updated, user.deleted, organizationMembership.created/deleted, and organization events.
  • Enables end-to-end workflows such as database synchronization, notifications, and third-party integrations through copy-paste-ready patterns.

Quick Start

Create a Next.js app webhook route at app/api/webhooks/route.ts that verifies signatures with verifyWebhook and handles events.

Frequently Asked Questions about clerk-webhooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Clerk webhook signatures in Next.js?

Verify Clerk webhook signatures in Next.js by calling verifyWebhook(req) within your public API route to validate Svix deliveries before processing real-time user and organization events.

What Clerk webhook events should I handle for user synchronization?

Handle user.created, user.updated, and user.deleted Clerk webhook events to synchronize database records, enabling reliable real-time updates when user profiles change.

How do I set up a public webhook route for Clerk deliveries?

Set up a public webhook route for Clerk deliveries by creating an endpoint at app/api/webhooks/route.ts in your Next.js app router, allowing external Svix event payloads to reach your handlers.

Can I use Clerk webhooks for organization membership updates?

Yes, Clerk webhooks support organizationMembership.created and organizationMembership.deleted events, allowing you to trigger third-party integrations or database updates when team memberships change.

What is the best way to handle real-time Clerk user events?

The best way to handle real-time Clerk user events is implementing copy-paste-ready webhook handlers with built-in signature verification, ensuring secure and reliable event processing without building from scratch.