---
title: "Set Email Prefs Handler"
method: POST
path: "/v1/account/set_email_prefs"
---

# Set Email Prefs Handler

`POST /v1/account/set_email_prefs`

## Request

- Base URL: `https://api.lmnt.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lmnt.com/v1/account/set_email_prefs`
- Auth: none declared
- TypeScript: <https://skmtc.dev/lmnt/apis/yapster/docs/v1/account/set_email_prefs/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `x-api-key` string

## Cookies

- `lmnt-auth0` string, nullable

## Request body `application/x-www-form-urlencoded`

- BodySetEmailPrefsHandlerV1AccountSetEmailPrefsPost
  - `wants_email` boolean, required

## Response `200`

Successful Response

- SuccessResponse
  - `success` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/lmnt/apis/yapster.md) - [All operations](https://skmtc.dev/lmnt/apis/yapster/llms.txt) - [OpenAPI document](https://skmtc.dev/lmnt/apis/yapster/revisions/f153248e1350?raw)
