---
title: "Update Email Preferences"
method: PUT
path: "/api/me/email-preferences"
---

# Update Email Preferences

`PUT /api/me/email-preferences`

## Request

- Base URL: `https://api.kdpcoloringbook.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kdpcoloringbook.com/api/me/email-preferences`
- Auth: HTTP bearer

Update marketing consent and language; service notices remain unaffected.

## Request body

- EmailPreferencesUpdate
  - `marketing_opt_in` boolean, required
  - `marketing_locale` 'en' | 'es'

## Response `200`

Successful Response

- EmailPreferencesResponse
  - `marketing_opt_in` boolean, required
  - `marketing_locale` 'en' | 'es', required
  - `marketing_opt_in_at` string, nullable
  - `unsubscribed_at` string, nullable
  - `suppressed_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kdpcoloringbook/apis/book-generator-api.md) · [All operations](https://skmtc.dev/kdpcoloringbook/apis/book-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kdpcoloringbook/apis/book-generator-api/revisions/f330c566ffc2?raw)
