Skip to main content

Admin Object

Description

Represents an admin user with access to the backoffice.

Declaration

type Admin {
_id: ID!
firstName: String
lastName: String
name: String
email: String!
addedAt: Date
type: String!
verification: UserVerification
hasIntercom: Boolean
mfa: AdminMFA
hasPasscode: Boolean
passwordToken: String
lastLogin: Date
accessKeys: [AccessKey!]
}

Fields

NameTypeDescription
_idID!Internal database identifier.
firstNameStringAdmin's first name.
lastNameStringAdmin's last name.
nameStringAdmin's full name.
emailString!Admin's email address.
addedAtDateDate when the admin was added to the system.
typeString!User type (always "admin" for admin users).
verificationUserVerificationEmail verification status and information.
hasIntercom ⚠️BooleanWhether the admin has Intercom integration. This field is deprecated. ⚠️ Deprecated: No longer supported
mfaAdminMFAMulti-factor authentication configuration.
hasPasscodeBooleanWhether the admin has a passcode configured.
passwordTokenStringPassword reset token.
lastLoginDateDate of the admin's last login.
accessKeys[AccessKey!]API access keys for the admin.