> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hightouch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscriptions and consent

> Subscription topics let recipients choose which email they receive. Hightouch enforces those choices on every send and records each change in your warehouse.

## Subscription topics

A topic is a category a recipient can subscribe to or leave, such as a weekly newsletter or promotions. Every marketing message is sent under one topic. Leaving Promotions doesn't stop the newsletter.

Add topics on each channel's page under **[Delivery > Settings > Channels](https://app.hightouch.com/native-delivery/settings/channels?from=docs)**. Each email topic has a policy:

| Policy | Default state for a new recipient |
| - | - |
| **Opt-out** | Subscribed. They receive the topic until they unsubscribe. |
| **Opt-in** | Not subscribed. They receive nothing until they subscribe. |
| **Double opt-in** | Not subscribed. They must confirm from a message before you can send. |

When you create a topic, select **Opt-in** or **Opt-out**. Once [double opt-in](#double-opt-in) is on for the channel, the **Opt-in** choice reads **Double opt-in**. You can't change a topic's policy after you create it, so create a new topic to use a different one.

A recipient can also unsubscribe from email altogether. A channel unsubscribe stops all marketing email regardless of topic.

## Marketing and transactional messages

Each message is either marketing or transactional, and the classification decides who can opt out of it.

**Marketing** messages honor topic and channel preferences.

**Transactional** messages are ones a recipient needs, such as a receipt, a password reset, or a policy update. They skip topic subscriptions. On email they also skip channel unsubscribes, reaching recipients who have opted out of marketing email. On SMS, a channel unsubscribe still applies, as described in [STOP and START](#stop-and-start).

## When email can't be delivered

A bounce or a spam complaint stops future email to that address. This is separate from subscription preferences and from suppression lists:

* Their topic and channel subscriptions are untouched.
* Nothing is added to your suppression lists.
* It applies to that address on that channel only, so a bounced email address doesn't affect the same person's SMS or a different address on their profile.

> [!WARNING]
>
> This check is always enforced and can't be overridden, including for transactional messages. Once an address is recorded as undeliverable, contact your Hightouch team to clear it.

## How recipients unsubscribe

Every marketing email carries two paths, and both apply to the topic the message was sent under:

* The unsubscribe link in your footer, which opens a page where the recipient confirms leaving the topic and can manage their other subscriptions.
* The unsubscribe button the mail client renders itself, from the `List-Unsubscribe` header.

Add `{{ unsubscribe_url }}` to your footer and Hightouch generates a per-recipient link. Configure the preference page and the links shown on it under **[Delivery > Settings > Consent](https://app.hightouch.com/native-delivery/settings/consent?from=docs)**.

### Unsubscribe link variables

Hightouch generates the unsubscribe link for each recipient at send time. Write one of these variables into your email footer, email body, or SMS text, and choose it by what the recipient should leave:

| Variable | What the link does |
| - | - |
| `{{ topic_unsubscribe_url }}` | Unsubscribes the recipient from the topic the message was sent under. Other topics are untouched. |
| `{{ channel_unsubscribe_url }}` | Unsubscribes the recipient from the whole channel: all marketing email, or all SMS. |

`{{ unsubscribe_url }}` works the same as `{{ topic_unsubscribe_url }}`.

A topic link opens a page that names the topic and asks the recipient to confirm, with a link to manage their other subscriptions. A channel link asks them to confirm leaving the channel instead.

A transactional message has no topic to leave, so all three variables produce a channel link on it. For email, the recipient stops receiving marketing on that channel and still receives transactional messages. For SMS, a channel unsubscribe stops all SMS communications, the same as if the recipient had replied STOP.

You can use more than one in a message. A footer can offer "Unsubscribe from this newsletter" with the topic link and "Unsubscribe from all email" with the channel link.

In an SMS, Hightouch replaces the variable with a shortened link. Hightouch fills these variables in for you, so they don't appear in the message's personalization variables and you don't need to supply values for them in an API-triggered send.

## Keep your own consent platform

If you manage preferences in a third-party consent tool, you don't have to move off it. Both unsubscribe paths can point at your platform instead of the Hightouch preference page: the footer link and the header your mail client reads.

That means building a URL that identifies the recipient, usually from a token or identifier on their profile, which you can write as a variable in your footer. Consent changes then need to reach your warehouse so Hightouch honors them on the next send.

Reach out to your Hightouch contact to set this up. They'll work through the URL format and how consent flows back.

## Double opt-in

A double opt-in topic requires the recipient to confirm before you can send to it. They stay unmarketable on that topic until they confirm, so a recipient who never confirms receives nothing.

You start the flow with an API call. When someone signs up, call the double opt-in endpoint with their address and the topic, and Hightouch sends the confirmation message and records their status.

```bash theme={null}
curl -X POST 'https://api.hightouch.com/api/v1/profiles/subscriptions/double-opt-in' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "handle": "sam@example.com",
    "channel": "email",
    "topicId": "..."
  }'
```

Identify the topic with either its `topicId` or its `topicExternalIdentifier`, the external identifier you gave it. On email the recipient clicks a confirmation link. On SMS they reply to a text.

Some jurisdictions require double opt-in. Once enabled for a channel, it can't be turned off. Turning it on switches every opt-in topic on that channel to double opt-in.

### SMS double opt-in

To turn on SMS double opt-in, go to **Settings > Channels** and define the two messages Hightouch sends to the recipient:

* **Opt-in instructions** — Sent when the flow starts. It should ask the recipient to reply YES to confirm.
* **Confirmation message** — Sent after the recipient replies YES.

To start the flow, pass the phone number as the handle:

```bash theme={null}
curl -X POST 'https://api.hightouch.com/api/v1/profiles/subscriptions/double-opt-in' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "handle": "+15555550123",
    "channel": "sms",
    "topicExternalIdentifier": "sms-promotions"
  }'
```

The response is `201` with `{ "consentStatus": "doi_pending_contact" }`. Hightouch then texts the opt-in instructions. When the recipient replies YES, Hightouch subscribes them to every SMS topic they haven't unsubscribed from and sends the confirmation message.

The recipient has 30 days to reply. If they're already pending or subscribed, the endpoint returns `200` with their current status and doesn't text them again. If they've replied STOP, it returns `409` with `unsubscribed_user`.

## Copy consent to a new email address

Topic preferences belong to the email address, not the profile. When a recipient's address changes from `old@example.com` to `new@example.com`, the preferences of `old@example.com` don't follow them. Hightouch uses the preferences already recorded for `new@example.com`, and each topic's default where it has none. To carry their preferences over, call the copy endpoint when the address changes.

```bash theme={null}
curl -X POST 'https://api.hightouch.com/api/v1/subscriptions/copy' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "items": [
      {
        "channel": "email",
        "from": "old@example.com",
        "to": "new@example.com",
        "onConflict": "overwrite",
        "occurredAt": "2026-11-04T14:32:07Z"
      }
    ]
  }'
```

The API key's owner must have a role that can update consent through the Consent API. See [Consent API permissions](https://docs.hightouch.com/workspace-management/roles.md#consent-api).

Call the endpoint before or at the same time as the sync that changes the address on the profile. That way, sends to the new address already use the copied preferences. To send address changes in bulk, point an [HTTP Request destination](https://docs.hightouch.com/destinations/http-request.md) at this endpoint.

### Request

A request carries 1 to 100 items. Every field is required.

| Field | Description |
| - | - |
| `channel` | The channel to copy. Only `email` is supported. |
| `from` | The address to copy preferences from. |
| `to` | The address to copy preferences to. |
| `onConflict` | `overwrite` or `fill_missing`. Decides what happens when the `to` address already has preferences. See [Choose how to handle existing preferences](#choose-how-to-handle-existing-preferences). |
| `occurredAt` | When the address change happened, as an ISO 8601 timestamp with a time zone, such as `2026-11-04T14:32:07Z`. |

### What gets copied

Hightouch copies the `from` address's preferences as they stood at `occurredAt`: its topic subscriptions and its email channel unsubscribe. Each copied change is dated `occurredAt`.

* The `from` address isn't changed. After the copy, the two addresses are independent: unsubscribing one later doesn't affect the other.
* A topic the `from` address changed after `occurredAt` is skipped. Hightouch doesn't keep the address's earlier preference on that topic, and the address may belong to someone else by then.
* Choices the `to` address made after `occurredAt` are kept.
* Double opt-in confirmations and pending confirmations aren't copied, and the `to` address keeps its own.

### Choose how to handle existing preferences

`onConflict` decides what happens on topics where the `to` address already has a preference dated at or before `occurredAt`.

| Value | Result |
| - | - |
| `overwrite` | The `to` address gets the `from` address's status on every topic. |
| `fill_missing` | The `from` address's preferences are copied only to topics where the `to` address has none of its own. Existing preferences on the `to` address are kept. |

For example, `old@example.com` unsubscribed from Promotions, and `new@example.com` unsubscribed from Newsletter. Neither has a preference on the other topic. Both topics are opt-out, so an address with no preference is subscribed.

After the copy, `new@example.com` has these statuses:

| Topic | `overwrite` | `fill_missing` |
| - | - | - |
| Promotions | Unsubscribed, same as `old@example.com` | Unsubscribed, same as `old@example.com` |
| Newsletter | Subscribed, same as `old@example.com` | Unsubscribed, its own preference is kept |

### Response

The response has one result per item, in request order, echoing its `channel`, `from`, and `to`.

```json theme={null}
{
  "items": [
    {
      "channel": "email",
      "from": "old@example.com",
      "to": "new@example.com",
      "ok": true
    },
    {
      "channel": "email",
      "from": "sam@example.com",
      "to": "Sam@Example.com",
      "ok": false,
      "code": "same_handle",
      "message": "Invalid copy: from and to normalize to the same handle"
    }
  ]
}
```

The status is `200` when every item succeeds and `422` when any item fails. Valid items are still applied when another item fails, and retrying the request is safe. A failed item has one of these codes:

| Code | Meaning |
| - | - |
| `invalid_handle` | `from` or `to` isn't an email address. |
| `same_handle` | `from` and `to` are the same address, ignoring case and surrounding spaces. |
| `duplicate_item` | Another item in the request copies to the same `to` address. |
| `invalid_occurred_at` | `occurredAt` is more than a minute in the future. |

A malformed request, such as more than 100 items or a missing field, returns `400` and nothing is applied.

## Suppression lists

Suppression lists are your own exclusions, expressed as audience conditions: hold back this group on this topic, whatever their preferences. Use them for legal holds, regional exclusions, or recipients still managed by another platform during a migration.

They attach to subscription topics and apply to every send on those topics, except transactional messages. See [Suppression lists](https://docs.hightouch.com/native-delivery/suppression-lists.md) for how each kind of send is checked.

## What recipients can't do

* **Keep separate preferences on a shared address.** Topic preferences belong to the email address. Two profiles sharing an address share its preferences.
* **Carry preferences to a new address.** A recipient who changes address gets the new address's preferences, or each topic's default where it has none, unless you [copy their consent](#copy-consent-to-a-new-email-address). Double opt-in topics always need a fresh opt-in.

## SMS consent

SMS consent has stricter rules. Recipients opt in before you can send, and a STOP reply applies across your whole workspace.

### Topics are always opt-in

Every SMS topic is opt-in. A recipient receives nothing on a topic until they subscribe to it, and SMS topics have no policy to choose.

### STOP and START

| Reply | What happens |
| - | - |
| **STOP** | Unsubscribes from the SMS channel and from every SMS topic in your workspace. |
| **START** | Resubscribes to the channel only. |

> [!WARNING]
>
> A recipient who replied STOP receives no further SMS, including transactional messages like receipts and password resets. Plan to reach them on another channel.

## Next steps

* [Reporting](https://docs.hightouch.com/native-delivery/reporting.md)
