auth

Update Notification Preferences

Replace the user's notification_preferences JSONB blob.

PATCH semantics: callers send the full blob they want persisted (not a partial diff). Defaults still apply at email-send time so missing keys behave per _DEFAULT_PREFS in email_service.

patch/auth/me/notification-preferences

Request body

notification_preferencesobject required

Response

Successful Response

idstring required
github_usernamestring nullable
avatar_urlstring nullable
emailstring nullable
tier'free' | 'pro' | 'teams' | 'admin' required
llm_credit_balance_centsinteger required
monthly_credit_reset_atstring date-time nullable
billing_intervalstring nullable
preferred_modelstring nullable
theme_preference'system' | 'light' | 'dark' nullable
notification_preferencesobject
deleted_atstring date-time nullable
has_subscriptionboolean
has_billing_accountboolean
free_answers_usedinteger nullable
free_answers_limitinteger nullable
free_answers_remaininginteger nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.