@clerk/backend
3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
1.34.0 is the newest release of 1.x.
In short
9 new1 fixed2 internal
Release note
Minor Changes
Add support for feature or plan based authorization.
Adds the ability to grab an instance's JWKS to the Backend API client.
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.jwks.getJWKS();Adds the Blocklist Identifier endpoints to the Backend API client.
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.blocklistIdentifiers.getBlocklistIdentifierList(); await clerkClient.blocklistIdentifiers.createBlocklistIdentifier({ identifier }); await clerkClient.blocklistIdentifiers.deleteBlocklistIdentifier('blocklistIdentifierId');Updates the ability paginate Allowlist Identifier reponses and access
identifierTypeandinstanceIdfrom the response.import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); const res = await clerkClient.blocklistIdentifiers.getAllowlistIdentifierList({ limit, offset });Corrects the type of the Allowlist Identifier
DeletedObjectAdds webhooks endpoints to the Backend API client.
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.webhooks.createSvixApp(); await clerkClient.webhooks.generateSvixAuthURL(); await clerkClient.webhooks.deleteSvixApp();Adds the ability to perform CRUD operations on JWT Templates to the Backend API client.
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.jwtTemplates.list({...}); await clerkClient.jwtTemplates.get('templateId'); await clerkClient.jwtTemplates.create({...}); await clerkClient.jwtTemplates.update({...}); await clerkClient.jwtTemplates.delete('templateId');Adds the ability to create an active session to the Backend API client.
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.sessions.createSession({ userId: 'user_xxxxxx', });
Patch Changes
Add support for phpass_md5 and ldap_ssha hashers
Adds the ability to verify proxy checks to the Backend API client.
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.proxyChecks.verify({ domainId: 'dmn_xxxxxx', proxyUrl: 'https://[your-domain].com' });Adds the following User-centric functionality to the Backend API client.
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.users.getOrganizationInvitationList({ userId: 'user_xxxxxx', status: 'pending', }); await clerkClient.users.deleteUserPasskey({ userId: 'user_xxxxxx', passkeyIdentificationId: 'xxxxxxx', }); await clerkClient.users.deleteUserWeb3Wallet({ userId: 'user_xxxxxx', web3WalletIdentificationId: 'xxxxxxx', }); await clerkClient.users.deleteUserExternalAccount({ userId: 'user_xxxxxx', externalAccountId: 'xxxxxxx', }); await clerkClient.users.deleteUserBackupCodes('user_xxxxxx'); await clerkClient.users.deleteUserTOTP('user_xxxxxx');Improve JSDoc comments
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.