# chat.bsky.notification.getPreferences

> 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.getPreferences)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.getPreferences/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.getPreferences/examples)

## Definitions

### `chat.bsky.notification.getPreferences`

**Type**: `query`

Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth.

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "chat.bsky.notification.getPreferences",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "preferences"
          ],
          "properties": {
            "preferences": {
              "ref": "chat.bsky.notification.defs#preferences",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
