> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/013_notifications/008__update_notification_settings.md).

# Update Notification Settings

GraphQL endpoint: `/user`

Updates the calling user's notification preferences and returns the full settings object. Only the arguments provided are changed; omitted preferences keep their current values.

## Query

```graphql
mutation (
  $c2cConnRequestReceivedNotification: Boolean
  $c2cConnRequestReceivedEmail: Boolean
  $c2cConnRequestResponseNotification: Boolean
  $c2cConnRequestResponseEmail: Boolean
  $b2cConnRequestReceivedNotification: Boolean
  $b2cConnRequestReceivedEmail: Boolean
  $c2bConnRequestResponseNotification: Boolean
  $c2bConnRequestResponseEmail: Boolean
  $b2cSubRequestReceivedNotification: Boolean
  $b2cSubRequestReceivedEmail: Boolean
  $b2cFormInstanceRequestReceivedNotification: Boolean
  $b2cFormInstanceRequestReceivedEmail: Boolean
) {
  updateNotificationSettings (
    c2cConnRequestReceivedNotification: $c2cConnRequestReceivedNotification
    c2cConnRequestReceivedEmail: $c2cConnRequestReceivedEmail
    c2cConnRequestResponseNotification: $c2cConnRequestResponseNotification
    c2cConnRequestResponseEmail: $c2cConnRequestResponseEmail
    b2cConnRequestReceivedNotification: $b2cConnRequestReceivedNotification
    b2cConnRequestReceivedEmail: $b2cConnRequestReceivedEmail
    c2bConnRequestResponseNotification: $c2bConnRequestResponseNotification
    c2bConnRequestResponseEmail: $c2bConnRequestResponseEmail
    b2cSubRequestReceivedNotification: $b2cSubRequestReceivedNotification
    b2cSubRequestReceivedEmail: $b2cSubRequestReceivedEmail
    b2cFormInstanceRequestReceivedNotification: $b2cFormInstanceRequestReceivedNotification
    b2cFormInstanceRequestReceivedEmail: $b2cFormInstanceRequestReceivedEmail
  ) {
    c2cConnRequestReceivedNotification
    c2cConnRequestReceivedEmail
    c2cConnRequestResponseNotification
    c2cConnRequestResponseEmail
    b2cConnRequestReceivedNotification
    b2cConnRequestReceivedEmail
    c2bConnRequestResponseNotification
    c2bConnRequestResponseEmail
    b2cSubRequestReceivedNotification
    b2cSubRequestReceivedEmail
    b2cFormInstanceRequestReceivedNotification
    b2cFormInstanceRequestReceivedEmail
  }
}

```

## Variables

```json
{
  "b2cConnRequestReceivedEmail": false,
  "b2cConnRequestReceivedNotification": false,
  "b2cFormInstanceRequestReceivedEmail": false,
  "b2cFormInstanceRequestReceivedNotification": false,
  "b2cSubRequestReceivedEmail": false,
  "b2cSubRequestReceivedNotification": false,
  "c2bConnRequestResponseEmail": false,
  "c2bConnRequestResponseNotification": false,
  "c2cConnRequestReceivedEmail": false,
  "c2cConnRequestReceivedNotification": false,
  "c2cConnRequestResponseEmail": false,
  "c2cConnRequestResponseNotification": false
}
```

## Response

```json
{
  "data": {
    "updateNotificationSettings": {
      "b2cConnRequestReceivedEmail": false,
      "b2cConnRequestReceivedNotification": false,
      "b2cFormInstanceRequestReceivedEmail": false,
      "b2cFormInstanceRequestReceivedNotification": false,
      "b2cSubRequestReceivedEmail": false,
      "b2cSubRequestReceivedNotification": false,
      "c2bConnRequestResponseEmail": false,
      "c2bConnRequestResponseNotification": false,
      "c2cConnRequestReceivedEmail": false,
      "c2cConnRequestReceivedNotification": false,
      "c2cConnRequestResponseEmail": false,
      "c2cConnRequestResponseNotification": false
    }
  }
}
```
