---
title: "Preferences Apply"
method: POST
path: "/marketing/preferences"
tags: ["marketing"]
---

# Preferences Apply

`POST /marketing/preferences`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/marketing/preferences`
- Auth: none declared

Apply the chosen action, then redirect back to GET (post/redirect/get, so
a refresh can't resubmit and the page re-renders the new state). Link scanners
follow GETs, never POSTs, so mutation lives here. Pause and unsubscribe narrow;
resubscribe widens, so it's gated on the contact being an app user - matching
what the GET offers, and keeping a lead's re-subscribe on 07-03's double opt-in
even against a hand-crafted POST.

## Query parameters

- `token` string

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

- BodyPreferencesApplyMarketingPreferencesPost
  - `action` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
