Skip to main content

NotificationPreferences

The caller's notification preferences in one organization.

type NotificationPreferences {
ownerID: String!
matrix: [NotificationPreferenceCell!]!
quietHours: QuietHours
severityFloor: NotificationSeverity!
digestCadence: DigestCadence!
timezone: String
updatedAt: Time
}

Fields​

NotificationPreferences.ownerID ● String! non-null scalar​

NotificationPreferences.matrix ● [NotificationPreferenceCell!]! non-null object​

Every event x channel cell, events in display order, as the delivery applies it to the caller: org notices (CREDIT_LOW, SPEND_THRESHOLD) are off by default for a member who neither manages billing nor uses the assistant (#3212).

NotificationPreferences.quietHours ● QuietHours object​

Null when the caller has no quiet hours.

NotificationPreferences.severityFloor ● NotificationSeverity! non-null enum​

Events below this severity notify on no channel.

NotificationPreferences.digestCadence ● DigestCadence! non-null enum​

NotificationPreferences.timezone ● String scalar​

The timezone quiet hours are read in: the caller's saved one, or null for UTC.

NotificationPreferences.updatedAt ● Time scalar​

Null until the caller first saves preferences in this org.

Returned By​

notificationPreferences query ● updateNotificationPreferences mutation