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

# OnlyFans API Reference

> Comprehensive REST API and Model Context Protocol (MCP) reference for connected OnlyFans creator channels: Mass message broadcasts, direct fan messaging, vault management, subscriber lists, and conversation triage.

Posttu provides programmatic REST API access and **24 first-party Model Context Protocol (MCP) tools** for connected OnlyFans creator accounts. Whether you are building custom agency CRM workflows, automated subscriber engagement sequences, or connecting autonomous AI agents, Posttu allows you to orchestrate creator accounts safely at scale.

***

## Authentication & Scopes

All OnlyFans endpoints require a valid Posttu API key or OAuth 2.1 bearer token passed in the `Authorization` header:

```http theme={null}
Authorization: Bearer <POSTTU_API_KEY>
```

### Required Scopes

| Scope | Permission Level | Description |
| :- | :- | :- |
| `onlyfans:read` | Read-only | Query creator profile details, subscriber counts, lists, active conversations, message histories, and media vaults. |
| `onlyfans:write` | Read & Write | Dispatch Mass DM broadcasts, send direct messages, update/delete posts, add/remove list members, and manage fans. |
| `mcp:full` | Administrative | Full workspace tool execution across all platforms. |

***

## Endpoint Categories

### Account & Profile

* `POST /api/v1/onlyfans/account/me` — Fetch authenticated creator profile (username, display name, avatar, subscriber count).
* `GET /api/v1/onlyfans/subscribers/count` — Query real-time subscriber counts by channel ID.

### Mass Message Broadcasts

* `POST /api/v1/onlyfans/broadcasts` — Send mass message broadcasts to targeted fan lists with custom pricing and media attachments.

### Conversations & Messaging

* `POST /api/v1/onlyfans/conversations/message/send` — Send a direct message (optionally PPV with unlock price) to a chat participant.
* `POST /api/v1/onlyfans/conversations` — List active chats with participant profiles, search, unread, and priority filters.
* `POST /api/v1/onlyfans/conversations/inbox` — Get the channel inbox overview and unread state.
* `POST /api/v1/onlyfans/conversations/messages` — Fetch paginated message history for a conversation.
* `POST /api/v1/onlyfans/conversations/users` — List chat participants with spend, tip, and activity filters.

### Fan Lists & Subscriptions

* `POST /api/v1/onlyfans/lists` — List creator custom lists with search and filters.
* `POST /api/v1/onlyfans/lists/members` — Fetch fans belonging to specific list IDs.
* `POST /api/v1/onlyfans/lists/members/add` — Add a fan to a custom list.
* `POST /api/v1/onlyfans/lists/members/remove` — Remove a fan from a custom list.
* `POST /api/v1/onlyfans/subscriptions` — Query active subscriptions and subscriber details.
* `POST /api/v1/onlyfans/fans/update` — Update fan notes or metadata.
* `POST /api/v1/onlyfans/fans/block` & `POST /api/v1/onlyfans/fans/restrict` — Block or restrict fan accounts.

### Media & Vault

* `POST /api/v1/onlyfans/vault` — List creator media vaults with pagination and search.
* `POST /api/v1/onlyfans/vault/folders` — Browse media items inside specific vault folders.
* `POST /api/v1/onlyfans/media/get` — Fetch hydrated media items by media IDs.

### Posts & Scheduling

* `POST /api/v1/posts/create` — Posttu unified multi-channel publishing endpoint (schedules feed posts to connected OnlyFans channels).
* `POST /api/v1/onlyfans/posts/get` — Fetch an OnlyFans post by ID with media, pricing, and stats.
* `POST /api/v1/onlyfans/posts/update` — Update post text, pricing, scheduling, or media.
* `POST /api/v1/onlyfans/posts/delete` — Delete an OnlyFans post by ID.

***

## Mass Message Broadcasts

Dispatch mass direct messages via `POST /api/v1/onlyfans/broadcasts` targeting fan lists:

```bash theme={null}
curl -X POST "https://posttu.com/api/v1/onlyfans/broadcasts" \
  -H "Authorization: Bearer YOUR_POSTTU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channelId": "chn_onlyfans_123",
    "text": "Exclusive late-night photo set and audio memo ✨",
    "price": 15,
    "mediaIds": ["med_polaroid_01", "med_audio_01"],
    "previewMediaIds": ["med_polaroid_preview"],
    "user_lists": ["fans"],
    "online_only": false
  }'
```

### Request Fields

| Field | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | Connected OnlyFans channel ID. |
| `text` | `string` | No | Broadcast message body text. |
| `price` | `number` | No | Pay-to-view unlock price in USD (default: `0`). |
| `mediaIds` | `string[]` | No | Locked media IDs attached to the broadcast. |
| `previewMediaIds` | `string[]` | No | Free preview media IDs shown before unlocking. |
| `user_lists` | `string[]` | No | Target recipient lists (default: `["fans"]`). |
| `online_only` | `boolean` | No | Restrict delivery to fans currently online (default: `false`). |
| `excluded_user_lists` | `string[]` | No | Custom list IDs excluded from delivery. |

***

## Direct Fan Messaging

Send 1-on-1 direct messages to chat participants via `POST /api/v1/onlyfans/conversations/message/send`:

```bash theme={null}
curl -X POST "https://posttu.com/api/v1/onlyfans/conversations/message/send" \
  -H "Authorization: Bearer YOUR_POSTTU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channelId": "chn_onlyfans_123",
    "chatId": "chat_user_789",
    "platform": "ONLYFANS",
    "messageData": {
      "message": "Hey! Thanks for supporting my channel this month ✨",
      "price": 10
    }
  }'
```

***

## Model Context Protocol (MCP) Tool Parity

Every OnlyFans capability maps directly to a first-party tool in Posttu's MCP server at `https://posttu.com/api/v1/mcp`:

* `onlyfans_account_me`
* `onlyfans_subscribers_count`
* `onlyfans_broadcasts`
* `onlyfans_conversations`
* `onlyfans_conversations_inbox`
* `onlyfans_conversations_messages`
* `onlyfans_conversations_users`
* `onlyfans_conversations_message_send`
* `onlyfans_posts_get`
* `onlyfans_posts_update`
* `onlyfans_posts_delete`
* `onlyfans_vault`
* `onlyfans_vault_folders`
* `onlyfans_media_get`
* `onlyfans_lists`
* `onlyfans_lists_members`
* `onlyfans_lists_members_add`
* `onlyfans_lists_members_remove`
* `onlyfans_subscriptions`
* `onlyfans_fans_update`
* `onlyfans_fans_blocked`
* `onlyfans_fans_restricted`
* `onlyfans_fans_block`
* `onlyfans_fans_restrict`


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