Query
query NotificationPreferences {
notificationPreferences {
key
category
label
description
sidebarEnabled
browserEnabled
}
}Response
{
"data": {
"notificationPreferences": [
{
"key": "string",
"category": "string",
"label": "string",
"description": "string",
"sidebarEnabled": true,
"browserEnabled": true
}
]
}
}Queries
notificationPreferences
Returns notification preferences.
QUERY
notificationPreferences: [NotificationPreference!]!Returns
key
String!
The key associated with this notification preference.
category
String!
The category associated with this notification preference.
label
String!
Human-readable label for this notification preference.
description
String!
Human-readable description of this notification preference.
sidebarEnabled
Boolean!
Whether the sidebar enabled condition is true for this notification preference.
browserEnabled
Boolean!
Whether the browser enabled condition is true for this notification preference.
webPushEnabled
Boolean!
Whether the web push enabled condition is true for this notification preference.
apnsEnabled
Boolean!
Whether native APNs delivery is enabled for this notification preference.
updatedAt
String
ISO 8601 timestamp when this notification preference was last updated. May be null when unavailable or not applicable.
Query
query NotificationPreferences {
notificationPreferences {
key
category
label
description
sidebarEnabled
browserEnabled
}
}Response
{
"data": {
"notificationPreferences": [
{
"key": "string",
"category": "string",
"label": "string",
"description": "string",
"sidebarEnabled": true,
"browserEnabled": true
}
]
}
}