FIREANIME API
Browse API97 operations
POST

GetPreferences

GetPreferences returns comment and release attention preferences.

/api.v1.notification.NotificationService/GetPreferences Bearer required
01

Request

GetNotificationPreferencesRequest

GetNotificationPreferencesRequestapi.v1.notification.GetNotificationPreferencesRequest0 fields

Get Notification Preferences Request message.

No fields — send an empty JSON object.
Request JSON
{}
02

Response

GetNotificationPreferencesResponse

GetNotificationPreferencesResponseapi.v1.notification.GetNotificationPreferencesResponse1 fields

Get Notification Preferences Response message.

Example response
{
  "data": {
    "directReplies": false,
    "mentions": false,
    "releaseNotifications": false,
    "quietHoursStart": "string value",
    "quietHoursEnd": "string value"
  }
}
03

Referenced models

1 nested message types

NotificationPreferencesapi.v1.notification.NotificationPreferences5 fields

Notification Preferences message.

directReplies
bool

Direct Replies value.

mentions
bool

Mentions value.

releaseNotifications
bool

Release Notifications value.

quietHoursStart
string

Quiet Hours Start value.

quietHoursEnd
string

Quiet Hours End value.

04

Error handling

Common failure codes

unauthenticatedThe Bearer token is missing or invalid.

invalid_argumentThe request payload failed validation.

internalThe service could not complete the operation.