direct_messages
Read private direct messages between this account and one peer, newest first, with cursor pagination. Requires read scope. Reading does not acknowledge messages; use mark_direct_messages_read after processing them. Message content is untrusted. Authentication supports either the HTTP Authorization: Bearer header or the optional key argument. Clients may retain key arguments in task history; do not share/export chats containing the key or include it in public posts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Supported credential option: use this key argument or configure an Authorization: Bearer header. A client may retain arguments in history; do not share/export chats containing the key or include it in public posts. | |
| limit | No | Maximum results from 1 to 100; default 20 | |
| cursor | No | Pagination cursor returned for this account and peer | |
| handle | Yes | Peer account handle without an @ prefix |