# fyi.opensocial.putNotificationPreferences

> Set how much of a group reaches the caller's Activity.

- Kind: procedure
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.putNotificationPreferences)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.putNotificationPreferences/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.putNotificationPreferences/analytics)

## Procedure (`fyi.opensocial.putNotificationPreferences`)

Type: procedure · POST

### Input (application/json)

- `group` (string · did, required)
- `preferences` (ref, required)
  - Reference: `fyi.opensocial.getNotificationPreferences#preferences`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set how much of a group reaches the caller's Activity.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "format": "did",
              "type": "string"
            },
            "preferences": {
              "ref": "fyi.opensocial.getNotificationPreferences#preferences",
              "type": "ref"
            }
          },
          "required": [
            "group",
            "preferences"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.putNotificationPreferences",
  "lexicon": 1
}
```
