Skip to content
GitmoapAPIBeta
Schema

UpdateNotificationPreferencesRequest

Change your notification preferences. Fields left out are unchanged.

Shape

  • digest_frequencyDigestFrequencyhourlydailyor nulloptionalHourly or daily digests.
  • digest_hourinteger · int32 or nulloptional0–23A new digest hour, 0 to 23.
  • preferencesarray of NotificationPreferenceChangeoptionalCategories to change, each on one channel. At most one entry per category and channel.
    • The NotificationPreferenceChange schema
    • categoryNotificationCategorygate_requestedgate_expiringescalationquestion_to_youmentiondigest_readybudget_thresholdritual_inviteThe category to change.
    • channelNotificationChannelin_appemailThe channel to change it on.
    • modeNotificationModeimmediatedigestoffHow it should reach you there. digest is for email only, and a category that cannot be turned off takes anything but off.
  • quiet_hoursQuietHours or nulloptionalNew quiet hours, or null for email that is never held back.
    • The QuietHours schema
    • from_hourinteger · int320–23The first quiet hour, 0 to 23, in your time zone.
    • until_hourinteger · int320–23The hour email may be sent again, 0 to 23, in your time zone. Differs from from_hour.
  • time_zoneTimeZoneName (string) or nulloptionalA new time zone.

Example

Synthesized example
{
"digest_frequency": "hourly",
"digest_hour": 6,
"preferences": [
{
"category": "gate_requested",
"channel": "in_app",
"mode": "immediate"
}
],
"quiet_hours": {
"from_hour": 15,
"until_hour": 11
},
"time_zone": "time-zone-8fb0"
}

Graph

Used inside

No schema contains this one.

Used by

Returned by 0 operations

No operation returns it directly.