Clerk
Clerk is a drop-in authentication and user management platform for web and mobile applications. The product spans sign-up / sign-in flows, user profiles, multi-factor authentication, passkeys, social sign-on, magic links, bot and fraud detection, organizations (B2B / multi-tenant) with custom roles and invitations, and a Billing product for subscriptions. The Backend API at api.clerk.com is authenticated with a Bearer secret key and has an OpenAPI specification. Frontend SDKs cover Next.js, React, React Router, Expo, Astro, TanStack React Start, Chrome Extension, and vanilla JavaScript. Backend SDKs cover Node, Go, Python, Ruby, Java, PHP, and C#. Webhooks are delivered via Svix.
APIs
Clerk Backend API
Server-to-server REST API for managing users, sessions, organizations, organization memberships, organization invitations, JWT templates, sign-in tokens, OAuth applications, SAM...
Clerk Frontend API
Browser-facing API consumed by Clerk's frontend SDKs and ClerkJS for sign-up, sign-in, session refresh, and user profile mutations. Endpoint is instance-specific (subdomain on c...
Clerk Webhooks (Svix)
Webhook events delivered via Svix for user, session, organization, email, SMS, and role lifecycle changes. Customers configure endpoints in the dashboard and verify signatures w...
Clerk JavaScript SDK
Official ClerkJS browser library and monorepo of framework adapters (Next.js, React, Expo, React Router, Astro, Chrome Extension, TanStack). Powers Clerk's prebuilt UI component...
Clerk Next.js SDK
Next.js integration covering App Router and Pages Router, middleware, route handlers, server components, and server actions. Distributed from the @clerk/nextjs package inside th...
Clerk React SDK
React components, hooks, and providers from the @clerk/clerk-react package for plain React SPAs.
Clerk Expo SDK
Expo / React Native bindings for Clerk supporting OAuth via deep links, secure session storage, and biometrics.
Clerk React Router SDK
Adapter for React Router v7 (Remix successor) covering loaders, actions, and server-rendered authentication.
Clerk Astro SDK
Adapter for the Astro framework with components and middleware.
Clerk TanStack Start SDK
Adapter for TanStack Start (React full-stack framework) with route-level authentication helpers.
Clerk Node.js SDK
Backend SDK for Node.js (@clerk/backend / @clerk/express / @clerk/fastify) that wraps the Backend API and verifies session JWTs.
Clerk Go SDK
Official Go SDK for the Clerk Backend API.
Clerk Python SDK
Official Python SDK for the Clerk Backend API.
Clerk Ruby SDK
Official Ruby SDK for the Clerk Backend API, with a Rails integration.
Clerk Java SDK
Official Java SDK for the Clerk Backend API.
Clerk PHP SDK
Official PHP SDK for the Clerk Backend API.
Clerk C# / .NET SDK
Official C# / .NET SDK for the Clerk Backend API.
Clerk OpenAPI Specifications
Public repository of OpenAPI specifications for Clerk's APIs, used as the source for generated SDKs and documentation.
Collections
Clerk Backend API
OPENGraphQL
Clerk GraphQL
Clerk's public API surface is REST-based. The Backend API lives at `https://api.clerk.com/v1` and is documented at [https://clerk.com/docs/reference/backend-api](https://clerk.c...
GRAPHQLPricing Plans
Rate Limits
FinOps
Clerk Finops
FINOPSEvent Specifications
Clerk Webhooks
AsyncAPI 2.6 specification for Clerk's webhook surface. Clerk delivers webhook events via Svix to customer-configured endpoints. Each delivery is an HTTP POST of a JSON envelope...
ASYNCAPI