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

TNID API documentation User Notifications Get Group Notification Settings

Get Group Notification Settings

On this page

GraphQL endpoint: /user

Returns the notification preferences attached to one of the calling user's group memberships.

Query

query ($groupUserMemberId: ID!) {
  groupNotificationSettings (groupUserMemberId: $groupUserMemberId) {
    id
    groupUserMemberJoinRequestReceivedNotification
    groupUserMemberJoinRequestReceivedEmail
  }
}

Variables

{
  "groupUserMemberId": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "groupNotificationSettings": {
      "groupUserMemberJoinRequestReceivedEmail": true,
      "groupUserMemberJoinRequestReceivedNotification": true,
      "id": "00000000-0000-4000-8000-000000000001"
    }
  }
}