> ## 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.

# Inbox

> Unified messaging across platforms — comments, mentions, and direct messages.

The Inbox API provides a single interface for managing conversations across all connected social-media platforms. It aggregates three types of interactions:

| Type | Description |
| - | - |
| `MESSAGE` | Direct messages and conversations |
| `COMMENT` | Comments on your posts |
| `MENTION` | Mentions of your accounts |

## Unified data model

Regardless of the source platform, each inbox item follows a consistent structure with:

* `platform` — the originating platform (e.g., `INSTAGRAM`, `X`, `ONLYFANS`)
* `accounts` — user info for participants
* `lastMessage` — preview of the most recent message
* `unread` — whether the item has unread content
* `updatedAt` — timestamp for sorting

## Centralized Inbox Actions

The Centralized Inbox API provides a single, platform-agnostic suite of endpoints under `/api/v1/inbox/*`:

* **Send Comments & Replies**: [`/api/v1/inbox/send-comment`](https://docs.posttu.com/api-reference/inbox/send-comment) — create comments or reply to existing comment threads across any connected social platform.
* **Send Direct Messages**: [`/api/v1/inbox/send-message`](https://docs.posttu.com/api-reference/inbox/send-message) — send private direct messages with automatic DB entity and external ID resolution.
* **Mass Messaging**: [`/api/v1/inbox/send-mass-message`](https://docs.posttu.com/api-reference/inbox/send-mass-message) — broadcast messages across supported platforms.
* **Delete Items**: [`/api/v1/inbox/delete-item`](https://docs.posttu.com/api-reference/inbox/delete-item) — soft-delete inbox items or comments with optional platform-side deletion and thread cascading.
* **Hide / Unhide**: [`/api/v1/inbox/hide-item`](https://docs.posttu.com/api-reference/inbox/hide-item) — toggle item visibility with bidirectional source platform sync.
* **Report Items**: [`/api/v1/inbox/report-item`](https://docs.posttu.com/api-reference/inbox/report-item) — submit moderation reports upstream to source platforms.
* **Like / Unlike**: [`/api/v1/inbox/like-item`](https://docs.posttu.com/api-reference/inbox/like-item) and [`/api/v1/inbox/unlike-item`](https://docs.posttu.com/api-reference/inbox/unlike-item) — toggle likes on comments or messages with source platform sync.

## Item Status Management

Each inbox item supports status flags via dedicated PATCH endpoints:

* **Read/unread**: [`/api/v1/inbox/mark-read`](https://docs.posttu.com/api-reference/inbox/mark-read) — mark items as read or unread
* **Pin**: [`/api/v1/inbox/update-pin`](https://docs.posttu.com/api-reference/inbox/update-pin) — pin important conversations to the top
* **Priority**: [`/api/v1/inbox/update-priority`](https://docs.posttu.com/api-reference/inbox/update-priority) — set priority levels (`LOW`, `NORMAL`, `MEDIUM`, `HIGH`, `URGENT`)
* **Archive**: [`/api/v1/inbox/update-archived`](https://docs.posttu.com/api-reference/inbox/update-archived) — archive resolved conversations

> [!NOTE]
>
> **Centralized vs Platform-Specific APIs**:
> Posttu provides the **Centralized Inbox API** (`/api/v1/inbox/*`) as the recommended approach for unified, multi-platform applications. Instead of managing separate schemas for Twitter, Facebook, Instagram, Bluesky, Mastodon, Reddit, and Fansly, a single endpoint handles interactions universally.
>
> However, if your integration requires direct platform-specific routes, Posttu also maintains dedicated platform endpoints (such as `/api/v1/twitter/conversations/message/send`, `/api/v1/facebook/posts/comments/create`, `/api/v1/bluesky/posts/comments/create`, etc.) across all supported networks.


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