---
title: "Turn promotional emails on or off for your account"
method: POST
path: "/v1/account/marketing"
tags: ["Account"]
---

# Turn promotional emails on or off for your account

`POST /v1/account/marketing`

## Request

- Base URL: `https://api.puntersedge.online`
- URL: `https://api.puntersedge.online/v1/account/marketing`
- Auth: API key in header `X-API-Key`

Cost: 0 credits. Appends a consent record — the account page's toggle.
Turning it ON from a signed-in account also lifts an `unsubscribed` suppression on the
address (never a bounce or a provider block): the person is asking, in their own account, to
hear from us again. Messages about the account and key are unaffected either way.

## Headers

- `X-API-Key` string
- `X-RapidAPI-Proxy-Secret` string

## Request body

- MarketingIn
  - `opt_in` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Missing or invalid API key. Send `X-API-Key`. See https://puntersedge.online/developers/errors
- `402`: Monthly credit allowance exhausted for this plan. Upgrade at https://puntersedge.online/api/pricing
- `422`: Validation Error
- `429`: Rate limit exceeded for this plan. Honour the `Retry-After` header (seconds) before retrying. See https://puntersedge.online/developers/rate-limits
- `500`: Unexpected server error. Safe to retry with backoff.

---

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