clerk-webhooks

Verify Clerk webhook signatures and handle event data for downstream actions.

2|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/Lostovayne/Complete-Cursor-Clone-Next16 --skill clerk-webhooks-lostovayne
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clerk-webhooks
Source: https://github.com/Lostovayne/Complete-Cursor-Clone-Next16/tree/main/.agents/skills/clerk-webhooks
Command: npx skills add https://github.com/Lostovayne/Complete-Cursor-Clone-Next16 --skill clerk-webhooks-lostovayne

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clerk webhooks enable secure, real-time event handling from Clerk across frameworks, allowing apps to react to user, organization, and subscription events and keep data in sync.

Core Features & Use Cases

  • Verify webhook signatures using framework-specific adapters (e.g., @clerk/nextjs/webhooks, @clerk/express/webhooks).
  • Handle events such as user.created, organizationMembership.created, organization.created, etc., to sync databases, trigger notifications, and drive integrations.
  • Ensure routes are public (excluded from Clerk middleware) to allow Clerk to reach the endpoint and return 200 on success.

Quick Start

Create a framework-specific webhook route, verify the signature with the appropriate verifyWebhook adapter, and implement handlers for events like user.created and organizationMembership.created.

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 webhooks in Next.js App Router?

To verify Clerk webhooks in Next.js App Router, use the framework-specific verifyWebhook adapter from @clerk/nextjs/webhooks and your CLERK_WEBHOOK_SIGNING_SECRET to validate incoming event signatures.

Why are my Clerk webhooks failing to reach the endpoint?

Clerk webhooks fail when the route is protected by Clerk middleware. You must ensure your webhook route is public, excluding it from middleware, to allow Clerk to reach the endpoint.

Can I sync my database with user.created events from Clerk?

Yes, you can sync your database by handling user.created events from Clerk webhooks, extracting the event data, and triggering downstream actions to update your database state.

What events are supported by Clerk webhooks for state synchronization?

Clerk webhooks support events such as user.created, organizationMembership.created, and organization.created to sync databases, trigger notifications, and drive integrations.

Do I need to return a specific status code when handling Clerk webhook events?

Yes, you need to return a 200 status code on success when handling Clerk webhook events to confirm receipt and prevent Clerk from retrying the webhook delivery.

Does Clerk webhook verification work with frameworks other than Next.js?

Clerk webhook verification works with other supported frameworks by using framework-specific verifyWebhook adapters, such as @clerk/express/webhooks, alongside your CLERK_WEBHOOK_SIGNING_SECRET.