getApiV1NotificationsPreferences
getApiV1NotificationsPreferences<
ThrowOnError>(options?:Options<GetApiV1NotificationsPreferencesData,ThrowOnError,unknown>):RequestResult<GetApiV1NotificationsPreferencesResponses,GetApiV1NotificationsPreferencesErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1225
List notification preferences
Returns every notification category (server-driven list) with the authenticated user’s effective opt-in state. Categories the user never toggled report their server default; the announcements category defaults to off (marketing pushes are strictly opt-in).
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<GetApiV1NotificationsPreferencesResponses, GetApiV1NotificationsPreferencesErrors, ThrowOnError>