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
| Name | Type | Description |
|---|---|---|
_id | ID! | Internal database identifier. |
firstName | String | Admin's first name. |
lastName | String | Admin's last name. |
name | String | Admin's full name. |
email | String! | Admin's email address. |
addedAt | Date | Date when the admin was added to the system. |
type | String! | User type (always "admin" for admin users). |
verification | UserVerification | Email verification status and information. |
hasIntercom ⚠️ | Boolean | Whether the admin has Intercom integration. This field is deprecated. ⚠️ Deprecated: No longer supported |
mfa | AdminMFA | Multi-factor authentication configuration. |
hasPasscode | Boolean | Whether the admin has a passcode configured. |
passwordToken | String | Password reset token. |
lastLogin | Date | Date of the admin's last login. |
accessKeys | [AccessKey!] | API access keys for the admin. |