---
title: "Update email notification preferences"
method: PUT
path: "/v1/me/email-preferences"
tags: ["Account"]
---

# Update email notification preferences

`PUT /v1/me/email-preferences`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/me/email-preferences`
- Auth: API key in cookie `__Host-better-auth.session_token`

Sets any subset of the recipient-controlled notification topics and returns the updated effective state.

## Request body

- object
  - `system` boolean
  - `invites` boolean
  - `announcements` boolean
  - `offers` boolean

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `system` boolean, required
    - `invites` boolean, required
    - `announcements` boolean, required
    - `offers` boolean, required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

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