list_messages
Retrieve recent messages, newest first, optionally filtered by recipient or status to see sent, suppressed, or pending approval messages. Requires messages:read scope.
Instructions
List recent messages, newest first, optionally for one person or status: what someone was already sent, what was suppressed, what waits for approval. Use get_message when you have an id. Needs the messages:read scope; agent keys see only their own messages.
Returns items, each with the same fields as get_message, and next_cursor, which is not null when older messages exist beyond limit. Fails with 404 when recipient is not a known external id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most messages to return, 1-100 (other values are clamped). | |
| status | No | Only messages with this status; omit for any status. | |
| recipient | No | External id of the person; omit for everyone. |