TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Notifications Get Notification Settings

Get Notification Settings

On this page

GraphQL endpoint: /user

Returns the calling user's notification preferences, one boolean per event/channel pair (in-app notification and email). All preferences default to enabled.

Query

query {
  notificationSettings {
    c2cConnRequestReceivedNotification
    c2cConnRequestReceivedEmail
    c2cConnRequestResponseNotification
    c2cConnRequestResponseEmail
    b2cConnRequestReceivedNotification
    b2cConnRequestReceivedEmail
    c2bConnRequestResponseNotification
    c2bConnRequestResponseEmail
    b2cSubRequestReceivedNotification
    b2cSubRequestReceivedEmail
    b2cFormInstanceRequestReceivedNotification
    b2cFormInstanceRequestReceivedEmail
  }
}

Variables

{}

Response

{
  "data": {
    "notificationSettings": {
      "b2cConnRequestReceivedEmail": true,
      "b2cConnRequestReceivedNotification": true,
      "b2cFormInstanceRequestReceivedEmail": true,
      "b2cFormInstanceRequestReceivedNotification": true,
      "b2cSubRequestReceivedEmail": true,
      "b2cSubRequestReceivedNotification": true,
      "c2bConnRequestResponseEmail": true,
      "c2bConnRequestResponseNotification": true,
      "c2cConnRequestReceivedEmail": true,
      "c2cConnRequestReceivedNotification": true,
      "c2cConnRequestResponseEmail": true,
      "c2cConnRequestResponseNotification": true
    }
  }
}