← All types
Sales & CRMOb Object

UserState

A user account in the system

Fields

id

UserID!Non-null

Unique identifier

External URL for the calling integration, or the primary identity for unscoped callers.

All linked external identities, including identities belonging to other integrations.

Integration instance that originally created this record, when known.

IaC stack that originally created this record, when known.

IaC stack currently managing this record's configuration and deletion.

External system identifier

email

String!Non-null

Email address (unique within tenant)

name

StringNullable

Display name

kind

UserKind!Non-null

User account type (HUMAN or BOT)

Possible values (2)
HUMAN

Regular interactive user

BOT

Service account for webhooks and automations

Creation timestamp (ISO8601)

Last update timestamp (ISO8601)

Referenced by (12)
Exact type SDL
"""A user account in the system"""
type UserState @iac_resource(name: "service_account") @iac_ops(create: "createUser", read: "getServiceAccount", update: "updateUser", delete: "deleteUser") {
  """Unique identifier"""
  id: UserID! @iac_identity(assignedBy: SERVER) @iac_computed
  """
  External URL for the calling integration, or the primary identity for unscoped callers.
  """
  externalUrl: String @iac_computed
  """
  All linked external identities, including identities belonging to other integrations.
  """
  externalIdentities: [RecordExternalIdentity!]! @iac_computed
  """Integration instance that originally created this record, when known."""
  createdByIntegrationId: IntegrationInstanceID @iac_computed @iac_ref(resource: "integration_instance")
  """IaC stack that originally created this record, when known."""
  createdByStackId: IaCStackID @iac_computed
  """IaC stack currently managing this record's configuration and deletion."""
  managedByStackId: IaCStackID @iac_computed
  """External system identifier"""
  externalId: String
  """Email address (unique within tenant)"""
  email: String!
  """Display name"""
  name: String
  """User account type (HUMAN or BOT)"""
  kind: UserKind! @iac_computed
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}