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 participantslastMessage— preview of the most recent messageunread— whether the item has unread contentupdatedAt— 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— create comments or reply to existing comment threads across any connected social platform. - Send Direct Messages:
/api/v1/inbox/send-message— send private direct messages with automatic DB entity and external ID resolution. - Mass Messaging:
/api/v1/inbox/send-mass-message— broadcast messages across supported platforms. - Delete Items:
/api/v1/inbox/delete-item— soft-delete inbox items or comments with optional platform-side deletion and thread cascading. - Hide / Unhide:
/api/v1/inbox/hide-item— toggle item visibility with bidirectional source platform sync. - Report Items:
/api/v1/inbox/report-item— submit moderation reports upstream to source platforms. - Like / Unlike:
/api/v1/inbox/like-itemand/api/v1/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— mark items as read or unread - Pin:
/api/v1/inbox/update-pin— pin important conversations to the top - Priority:
/api/v1/inbox/update-priority— set priority levels (LOW,NORMAL,MEDIUM,HIGH,URGENT) - Archive:
/api/v1/inbox/update-archived— archive resolved conversations
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.
