# town.delve.notification.putPreferencesV2

> Published by [delve.town](https://lexicon.garden/identity/did:plc:qzqct2rrq4u2gmy5g3mjxske)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.notification.putPreferencesV2)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.notification.putPreferencesV2/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.notification.putPreferencesV2/examples)

## Definitions

### `town.delve.notification.putPreferencesV2`

**Type**: `procedure`

Set notification-related preferences for an account. Requires auth.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `chat` | `ref` → `town.delve.notification.defs#chatPreference` | No | Deprecated: use chat.bsky.notification preferences instead. Setting this won't stick and the default values will be returned. |
| `follow` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `like` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `likeViaRepost` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `mention` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `quote` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `reply` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `repost` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `repostViaRepost` | `ref` → `town.delve.notification.defs#filterablePreference` | No |  |
| `starterpackJoined` | `ref` → `town.delve.notification.defs#preference` | No |  |
| `subscribedPost` | `ref` → `town.delve.notification.defs#preference` | No |  |
| `unverified` | `ref` → `town.delve.notification.defs#preference` | No |  |
| `verified` | `ref` → `town.delve.notification.defs#preference` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `preferences` | `ref` → `town.delve.notification.defs#preferences` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set notification-related preferences for an account. Requires auth.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "chat": {
              "description": "Deprecated: use chat.bsky.notification preferences instead. Setting this won't stick and the default values will be returned.",
              "ref": "town.delve.notification.defs#chatPreference",
              "type": "ref"
            },
            "follow": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "like": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "likeViaRepost": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "mention": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "quote": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "reply": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "repost": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "repostViaRepost": {
              "ref": "town.delve.notification.defs#filterablePreference",
              "type": "ref"
            },
            "starterpackJoined": {
              "ref": "town.delve.notification.defs#preference",
              "type": "ref"
            },
            "subscribedPost": {
              "ref": "town.delve.notification.defs#preference",
              "type": "ref"
            },
            "unverified": {
              "ref": "town.delve.notification.defs#preference",
              "type": "ref"
            },
            "verified": {
              "ref": "town.delve.notification.defs#preference",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "preferences": {
              "ref": "town.delve.notification.defs#preferences",
              "type": "ref"
            }
          },
          "required": [
            "preferences"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "town.delve.notification.putPreferencesV2",
  "lexicon": 1
}
```
