# chat.bsky.notification.putPreferences

> Published by [bsky-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:4v4y5r3lwsbtmsxhile2ljac)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.putPreferences)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.putPreferences/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.putPreferences/examples)

## Definitions

### `chat.bsky.notification.putPreferences`

**Type**: `procedure`

Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `chat` | `ref` → `chat.bsky.notification.defs#chatPreference` | No |  |
| `chatRequest` | `ref` → `chat.bsky.notification.defs#chatPreference` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `preferences` | `ref` → `chat.bsky.notification.defs#preferences` | Yes |  |

## Raw Schema

```json
{
  "id": "chat.bsky.notification.putPreferences",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "properties": {
            "chat": {
              "ref": "chat.bsky.notification.defs#chatPreference",
              "type": "ref"
            },
            "chatRequest": {
              "ref": "chat.bsky.notification.defs#chatPreference",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "preferences"
          ],
          "properties": {
            "preferences": {
              "ref": "chat.bsky.notification.defs#preferences",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
