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

# Subscriptions

> Manage subscription statuses, opt-ins, and double opt-in verification flows.

# Subscriptions

Track and manage subscriber consent and opt-in states in Mailofly.

## Subscription Statuses

* **Subscribed**: The contact is active and eligible to receive marketing broadcasts and campaign emails.
* **Unsubscribed**: The contact opted out via unsubscribe link or preference center. Marketing emails to this address are automatically blocked.
* **Pending Verification**: (Optional Double Opt-In) The contact has signed up but has not yet confirmed their email address.

## Managing Subscriptions via API

```bash theme={null}
# Opt out a contact
curl -X PATCH "https://api.mailofly.com/contacts/con_01J8G52XYZ" \
  -H "Authorization: Bearer mf_live_..." \
  -d '{ "unsubscribed": true }'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.