---
title: "Change one email preference."
method: PATCH
path: "/v1/account/notifications"
---

# Change one email preference.

`PATCH /v1/account/notifications`

## Request

- Base URL: `https://paperagent.dev`
- URL: `https://paperagent.dev/v1/account/notifications`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://paperagent.dev/oauth/authorize`, token URL `https://paperagent.dev/oauth/token`, scopes: `letters:write`)
  - API key in header `X-Api-Key`
  - HTTP bearer

## Request body

- object
  - `notification` string, required
  - `enabled` boolean, required

## Response `200`

Success

- object
  - `notifications` object[], required
    - `notification` string, required
    - `enabled` boolean, required
    - `chosen` boolean, required
    - `description` string, required

## Other responses

- `default`: A stable error code and actionable message. 401: authenticate; 403: permission or policy; 404: unavailable object; 409: conflict; 422: domain refusal; 429: quota; 5xx: retry or contact support.

---

[API](https://skmtc.dev/paperagent/apis/paperagent-rest-api.md) · [All operations](https://skmtc.dev/paperagent/apis/paperagent-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperagent/apis/paperagent-rest-api/revisions/388148938051?raw)
