The Backend User
object
The Backend User
object is similar to the User
object as it holds information about a user of your application, such as their unique identifier, name, email addresses, phone numbers, and more. However, the Backend User
object is different from the User
object in that it is used in the Backend API and is not directly accessible from the Frontend API.
Name backupCodeEnabled
Type boolean
Description A boolean indicating whether the user has enabled Backup codes.
Name banned
Type boolean
Description A boolean indicating whether the user is banned or not.
Name createdAt
Type number
Description The date when the user was first created.
Name createOrganizationEnabled
Type boolean
Description A boolean indicating whether the organization creation is enabled for the user or not.
Name createOrganizationsLimit
Type null | number
Description An integer indicating the number of organizations that can be created by the user. If the value is 0
, then the user can create unlimited organizations. Default is null
.
Name deleteSelfEnabled
Type boolean
Description A boolean indicating whether the user can delete their own account.
Name emailAddresses
Type EmailAddress []
Description An array of all the EmailAddress
objects associated with the user. Includes the primary.
Name externalAccounts
Type ExternalAccount []
Description An array of all the ExternalAccount
objects associated with the user via OAuth. Note : This includes both verified & unverified external accounts.
Name externalId
Type null | string
Description The ID of the user as used in your external systems. Must be unique across your instance.
Name firstName
Type null | string
Description Name hasImage
Type boolean
Description A getter boolean to check if the user has uploaded an image or one was copied from OAuth. Returns false
if Clerk is displaying an avatar for the user.
Name id
Type string
Description The unique identifier for the user.
Name imageUrl
Type string
Description The URL of the user's profile image.
Name lastActiveAt
Type null | number
Description Date when the user was last active.
Name lastName
Type null | string
Description Name lastSignInAt
Type null | number
Description The date when the user last signed in. May be empty if the user has never signed in.
Name legalAcceptedAt
Type null | number
Description Name locked
Type boolean
Description A boolean indicating whether the user is banned or not.
Name passwordEnabled
Type boolean
Description A boolean indicating whether the user has a password on their account.
Name phoneNumbers
Type PhoneNumber []
Description An array of all the PhoneNumber
objects associated with the user. Includes the primary.
Name primaryEmailAddressId
Type null | string
Description The ID for the EmailAddress
that the user has set as primary.
Name primaryPhoneNumberId
Type null | string
Description The ID for the PhoneNumber
that the user has set as primary.
Name primaryWeb3WalletId
Type null | string
Description The ID for the Web3Wallet
that the user signed up with.
Name privateMetadata
Type UserPrivateMetadata
Description Metadata that can be read and set only from the Backend API .
Name publicMetadata
Type UserPublicMetadata
Description Metadata that can be read from the Frontend API and Backend API and can be set only from the Backend API.
Name samlAccounts
Type SamlAccount []
Description An array of all the SamlAccount
objects associated with the user via SAML.
Name totpEnabled
Type boolean
Description A boolean indicating whether the user has enabled TOTP by generating a TOTP secret and verifying it via an authenticator app.
Name twoFactorEnabled
Type boolean
Description A boolean indicating whether the user has enabled two-factor authentication.
Name unsafeMetadata
Type UserUnsafeMetadata
Description Metadata that can be read and set from the Frontend API. It's considered unsafe because it can be modified from the frontend.
Name updatedAt
Type number
Description The date when the user was last updated.
Name username
Type null | string
Description Name web3Wallets
Type Web3Wallet []
Description An array of all the Web3Wallet
objects associated with the user. Includes the primary.
Name fullName
Type null | string
Description The full name of the user.
Name primaryEmailAddress
Type null | EmailAddress
Description The primary email address of the user.
Name primaryPhoneNumber
Type null | PhoneNumber
Description The primary phone number of the user.
Name primaryWeb3Wallet
Type null | Web3Wallet
Description The primary web3 wallet of the user.
Last updated on Sep 2, 2025