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

# Unified Inbox & Social Listening MCP Tools

> Read and reply to direct messages, manage comments, triage inbox threads, and monitor social listening keywords.

Read and reply to direct messages, manage comments, triage inbox threads, and monitor social listening keywords.

All tools in this suite operate on workspace objects and support dual execution via our REST API.

***

## Available Tools (17)

### `list_inbox`

Retrieve a paginated list of unified inbox threads, direct messages, comments, reviews, and mentions.

* **Scope**: `inbox:read`
* **REST Route**: [`GET /api/v1/inbox`](https://docs.posttu.com/api-reference/inbox/list-inbox)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `type` | `string` | No | Comma-separated item types to fetch (MENTION, COMMENT, MESSAGE, REVIEW). Defaults to MESSAGE. |
| `limit` | `number` | No | Page size limit |
| `offset` | `number` | No | Pagination offset |
| `sort` | `string` | No | Sort order by timestamp |
| `isRead` | `boolean` | No | Filter by read/unread state |
| `isPinned` | `boolean` | No | Filter by pinned state |
| `isArchived` | `boolean` | No | Filter by archived state |
| `start` | `string` | No | Optional ISO start date filter |
| `end` | `string` | No | Optional ISO end date filter |
| `conversationCursor` | `string` | No | Cursor for conversations pagination |
| `commentAndMentionCursor` | `string` | No | Cursor for comments and mentions pagination |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_inbox",
    "arguments": {
      "type": "example_value",
      "limit": 10,
      "offset": 10,
      "sort": "example_value",
      "isRead": false,
      "isPinned": false,
      "isArchived": false,
      "start": "example_value",
      "end": "example_value",
      "conversationCursor": "example_value",
      "commentAndMentionCursor": "example_value"
    }
  }
}
```

***

### `send_message`

Send a direct message or reply in an existing inbox conversation thread.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/send-message`](https://docs.posttu.com/api-reference/inbox/send-message)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `platform` | `string` | **Yes** | Social platform supporting DMs (e.g. ONLYFANS, FANSLY, FANVUE, INSTAGRAM, FACEBOOK, TWITTER, BLUESKY) |
| `channelId` | `string` | **Yes** | Connected channel ID sending the message |
| `chatId` | `string` | **Yes** | Target Posttu conversation ID or platform chat/conversation ID |
| `messageData` | `object` | **Yes** | Message payload containing text/message and optional media/price fields |
| `messageData.message` | `string` | No | Message body text |
| `messageData.text` | `string` | No | Alternate message text field |
| `messageData.price` | `number` | No | Optional PPV price in USD |
| `recipientId` | `string` | No | Optional recipient ID (used by platforms like Instagram/Facebook when not inferred from chatId) |
| `skipFollowUpCancellation` | `boolean` | No | Skip cancelling queued follow-up messages |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "send_message",
    "arguments": {
      "platform": "example_value",
      "channelId": "chn_live_12345",
      "chatId": "chatId_example",
      "messageData": {
        "message": "example_value",
        "text": "Exciting announcement! Check out our new update.",
        "price": 10
      },
      "recipientId": "recipientId_example",
      "skipFollowUpCancellation": false
    }
  }
}
```

***

### `send_comment`

Post a comment on a published post or reply to an existing comment.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/send-comment`](https://docs.posttu.com/api-reference/inbox/send-comment)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `platform` | `string` | **Yes** | Social platform (e.g. TWITTER, INSTAGRAM, ONLYFANS, FANSLY, REDDIT) |
| `channelId` | `string` | **Yes** | Connected channel ID posting the comment |
| `inboxItemId` | `string` | No | Posttu Inbox item ID (CUID) being replied to |
| `externalPostId` | `string` | No | Third-party platform post/video ID to comment on |
| `externalCommentId` | `string` | No | Third-party platform comment ID to reply to |
| `messageData` | `object` | **Yes** | Comment payload |
| `messageData.message` | `string` | No | Comment body text |
| `messageData.text` | `string` | No | Alternate comment body text |
| `isReply` | `boolean` | No | Whether this comment is a reply to another comment |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "send_comment",
    "arguments": {
      "platform": "example_value",
      "channelId": "chn_live_12345",
      "inboxItemId": "inboxItemId_example",
      "externalPostId": "externalPostId_example",
      "externalCommentId": "externalCommentId_example",
      "messageData": {
        "message": "example_value",
        "text": "Exciting announcement! Check out our new update."
      },
      "isReply": false
    }
  }
}
```

***

### `mark_thread_read`

Mark an inbox item or conversation thread as read or unread.

* **Scope**: `inbox:write`
* **REST Route**: [`PATCH /api/v1/inbox/mark-read`](https://docs.posttu.com/api-reference/inbox/mark-read)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Posttu Inbox item ID (CUID) or Conversation ID |
| `type` | `string` | **Yes** | Inbox item type |
| `read` | `boolean` | No | Set true to mark as read, false for unread |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "mark_thread_read",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "type": "example_value",
      "read": false
    }
  }
}
```

***

### `update_thread_pin`

Pin or unpin an inbox item or conversation thread.

* **Scope**: `inbox:write`
* **REST Route**: [`PATCH /api/v1/inbox/update-pin`](https://docs.posttu.com/api-reference/inbox/update-pin)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Posttu Inbox item ID (CUID) |
| `isPinned` | `boolean` | No | Pin state |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_thread_pin",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "isPinned": false
    }
  }
}
```

***

### `update_thread_priority`

Update the priority level of an inbox item or conversation thread.

* **Scope**: `inbox:write`
* **REST Route**: [`PATCH /api/v1/inbox/update-priority`](https://docs.posttu.com/api-reference/inbox/update-priority)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Posttu Inbox item ID (CUID) |
| `priority` | `string` | **Yes** | New priority level |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_thread_priority",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "priority": "example_value"
    }
  }
}
```

***

### `update_thread_archived`

Archive or unarchive an inbox item or conversation thread.

* **Scope**: `inbox:write`
* **REST Route**: [`PATCH /api/v1/inbox/update-archived`](https://docs.posttu.com/api-reference/inbox/update-archived)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Posttu Inbox item ID (CUID) |
| `isArchived` | `boolean` | **Yes** | Set true to archive, false to unarchive |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_thread_archived",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "isArchived": false
    }
  }
}
```

***

### `delete_inbox_item`

Delete an inbox comment, message, or conversation item.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/delete-item`](https://docs.posttu.com/api-reference/inbox/delete-item)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Inbox item ID |
| `channelId` | `string` | **Yes** | Target channel ID |
| `platform` | `string` | **Yes** | Target platform |
| `externalCommentId` | `string` | No | Optional platform comment ID |
| `externalPostId` | `string` | No | Optional platform post ID |
| `deleteFromPlatform` | `boolean` | No | Whether to also delete upstream from the platform |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_inbox_item",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "channelId": "chn_live_12345",
      "platform": "example_value",
      "externalCommentId": "externalCommentId_example",
      "externalPostId": "externalPostId_example",
      "deleteFromPlatform": false
    }
  }
}
```

***

### `hide_inbox_item`

Hide or unhide an inbox comment.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/hide-item`](https://docs.posttu.com/api-reference/inbox/hide-item)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Inbox item ID |
| `channelId` | `string` | **Yes** | Target channel ID |
| `platform` | `string` | **Yes** | Target platform |
| `isHiding` | `boolean` | **Yes** | Set true to hide, false to unhide |
| `externalCommentId` | `string` | No | Optional platform comment ID |
| `externalPostId` | `string` | No | Optional platform post ID |
| `syncToPlatform` | `boolean` | No | Whether to sync the hide state to the native platform |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "hide_inbox_item",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "channelId": "chn_live_12345",
      "platform": "example_value",
      "isHiding": false,
      "externalCommentId": "externalCommentId_example",
      "externalPostId": "externalPostId_example",
      "syncToPlatform": false
    }
  }
}
```

***

### `like_inbox_item`

Like an inbox comment or item on supported platforms.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/like-item`](https://docs.posttu.com/api-reference/inbox/like-item)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Inbox item ID |
| `channelId` | `string` | **Yes** | Target channel ID |
| `platform` | `string` | **Yes** | Target platform |
| `externalCommentId` | `string` | No | Optional platform comment ID |
| `externalPostId` | `string` | No | Optional platform post ID |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "like_inbox_item",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "channelId": "chn_live_12345",
      "platform": "example_value",
      "externalCommentId": "externalCommentId_example",
      "externalPostId": "externalPostId_example"
    }
  }
}
```

***

### `unlike_inbox_item`

Remove a like from an inbox comment or item.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/unlike-item`](https://docs.posttu.com/api-reference/inbox/unlike-item)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Inbox item ID |
| `channelId` | `string` | **Yes** | Target channel ID |
| `platform` | `string` | **Yes** | Target platform |
| `externalCommentId` | `string` | No | Optional platform comment ID |
| `externalPostId` | `string` | No | Optional platform post ID |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "unlike_inbox_item",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "channelId": "chn_live_12345",
      "platform": "example_value",
      "externalCommentId": "externalCommentId_example",
      "externalPostId": "externalPostId_example"
    }
  }
}
```

***

### `report_inbox_item`

Report an offensive or violating inbox comment or item.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/report-item`](https://docs.posttu.com/api-reference/inbox/report-item)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `inboxItemId` | `string` | **Yes** | Inbox item ID |
| `channelId` | `string` | **Yes** | Target channel ID |
| `platform` | `string` | **Yes** | Target platform |
| `reason` | `string` | No | Report reason or category |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "report_inbox_item",
    "arguments": {
      "inboxItemId": "inboxItemId_example",
      "channelId": "chn_live_12345",
      "platform": "example_value",
      "reason": "example_value"
    }
  }
}
```

***

### `send_mass_message`

Send a bulk direct message to multiple recipients across creator platforms (e.g. OnlyFans, Fansly, Fanvue).

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/send-mass-message`](https://docs.posttu.com/api-reference/inbox/send-mass-message)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `selectedChannels` | `array` | **Yes** | Connected creator channels to broadcast from |
| `messageData` | `object` | **Yes** | Mass message payload (text/message, optional media/price) |
| `messageData.message` | `string` | No | Message body text |
| `messageData.text` | `string` | No | Alternate message text field |
| `messageData.price` | `number` | No | Optional paywall price in USD |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "send_mass_message",
    "arguments": {
      "selectedChannels": [],
      "messageData": {
        "message": "example_value",
        "text": "Exciting announcement! Check out our new update.",
        "price": 10
      }
    }
  }
}
```

***

### `get_message_history`

Retrieve chronological message history between the channel and a specific platform user.

* **Scope**: `inbox:read`
* **REST Route**: [`POST /api/v1/inbox/message-history`](https://docs.posttu.com/api-reference/inbox/message-history)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `platform` | `string` | **Yes** | Target platform |
| `channelId` | `string` | **Yes** | Connected channel ID |
| `platformId` | `string` | **Yes** | External platform user ID |
| `chatId` | `string` | No | Platform chat or thread ID |
| `limit` | `number` | No | Max messages to retrieve |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_message_history",
    "arguments": {
      "platform": "example_value",
      "channelId": "chn_live_12345",
      "platformId": "platformId_example",
      "chatId": "chatId_example",
      "limit": 10
    }
  }
}
```

***

### `list_tracked_keywords`

List social listening keywords and brand monitors for the workspace.

* **Scope**: `inbox:read`
* **REST Route**: [`GET /api/v1/inbox/listening/keywords`](https://docs.posttu.com/api-reference/inbox/listening/list-keywords)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `status` | `string` | No | Filter by active state |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_tracked_keywords",
    "arguments": {
      "status": "example_value"
    }
  }
}
```

***

### `create_tracked_keyword`

Add a new social listening monitor to track brand mentions, competitors, or terms across platforms.

* **Scope**: `inbox:write`
* **REST Route**: [`POST /api/v1/inbox/listening/keywords`](https://docs.posttu.com/api-reference/inbox/listening/create-keyword)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `name` | `string` | **Yes** | Label for the tracked monitor (1-60 characters) |
| `query` | `string` | **Yes** | Boolean query or search string (1-100 characters) |
| `platforms` | `array` | **Yes** | Platforms to monitor (e.g. TWITTER, REDDIT, TIKTOK, YOUTUBE) |
| `negativeKeywords` | `array` | No | Optional negative keywords to exclude (max 10) |
| `color` | `string` | No | Optional hex badge color |
| `isActive` | `boolean` | No | Whether monitoring starts active |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_tracked_keyword",
    "arguments": {
      "name": "example_value",
      "query": "example_value",
      "platforms": [
        "item_1"
      ],
      "negativeKeywords": [
        "item_1"
      ],
      "color": "example_value",
      "isActive": false
    }
  }
}
```

***

### `get_listening_analytics`

Retrieve aggregated mention counts, sentiment breakdowns, and reach metrics across listening monitors.

* **Scope**: `inbox:read`
* **REST Route**: [`GET /api/v1/inbox/listening/analytics`](https://docs.posttu.com/api-reference/inbox/listening/analytics)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `days` | `number` | No | Number of trailing days to aggregate (defaults to 30) |
| `keywordId` | `string` | No | Optional specific keyword monitor ID filter |
| `platform` | `string` | No | Optional platform filter |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_listening_analytics",
    "arguments": {
      "days": 10,
      "keywordId": "keywordId_example",
      "platform": "example_value"
    }
  }
}
```

***


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