> ## Documentation Index
> Fetch the complete documentation index at: https://docs.catchthegoodones.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Notification Settings

> Update one or more notification preferences

Updates one or more notification preferences. At least one field must be provided.

### Headers

| Header          | Required | Description                     |
| --------------- | -------- | ------------------------------- |
| `Authorization` | Yes      | `Bearer ctgo_your_api_key_here` |
| `Content-Type`  | Yes      | `application/json`              |

### Body

| Field                      | Type    | Required | Description                                             |
| -------------------------- | ------- | -------- | ------------------------------------------------------- |
| `summaryFrequency`         | string  | No       | `"after_every_sync"`, `"daily"`, `"weekly"`, or `"off"` |
| `emailSummariesEnabled`    | boolean | No       | Enable or disable email summaries                       |
| `telegramSummariesEnabled` | boolean | No       | Enable or disable Telegram summaries                    |

At least one field must be provided.

### Example

```bash theme={null}
curl -X PUT https://www.catchthegoodones.com/api/v2/notification-settings \
  -H "Authorization: Bearer ctgo_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{"summaryFrequency": "after_every_sync", "emailSummariesEnabled": true}'
```

### Response

<ResponseExample>
  ```json 200 theme={null}
  {
    "summaryFrequency": "after_every_sync",
    "emailSummariesEnabled": true,
    "telegramSummariesEnabled": false
  }
  ```

  ```json 400 theme={null}
  {
    "error": "At least one setting must be provided"
  }
  ```
</ResponseExample>
