x_inbox
Read a connected X/Twitter account's private surfaces: bookmarks and bookmark folders, notifications, and DM history. Billed per item returned; readable only for handles this wallet connected.
Guidance: PREREQUISITE: connect an X account (see /api/x-accounts/start). Reads act AS that account, so you can only read the inbox of a handle THIS wallet connected. action=bookmarks (optional folderId) | bookmark_folders | notifications (optional type) | dm_history (target_user_id required). bookmarks/notifications/dm_history are billed per item — set resultsLimit (1–10000). account (the connected handle) is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | notifications: optional filter (e.g. mentions). | |
| maxId | No | dm_history: paginate before this message id. | |
| action | Yes | Which inbox read to run. | |
| account | Yes | A connected X handle owned by this wallet (no @). | |
| folderId | No | bookmarks: optional folder to read. | |
| resultsLimit | No | Max items to return (billed per item); ignored for bookmark_folders. | |
| target_user_id | No | dm_history: the other party's user id. |