Skip to Content
Anuma SDKClientInternalFunctionsgetApiV1NotificationsPreferences

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 ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options?

Options<GetApiV1NotificationsPreferencesData, ThrowOnError, unknown>

Returns

RequestResult<GetApiV1NotificationsPreferencesResponses, GetApiV1NotificationsPreferencesErrors, ThrowOnError>

Last updated on