List messages
list_messagesRetrieve messages from a Google Chat space or thread with sender, text, timestamps, attachments, and reactions. Filter by creation time or thread, paginate, and include deleted messages.
Instructions
Lists messages in a space (including messages from blocked members and spaces): name, text, sender, createTime, thread.name, attachment metadata and emoji reaction summaries. Filters are the API's only two: created_after (createTime) and thread_name (one thread's messages) — there is no text search, match client-side. order defaults to ascending by createTime; show_deleted includes tombstones of deleted messages. Poll incrementally with created_after + page_token instead of re-listing history. Requires the chat.messages.readonly (or chat.messages) scope and works only with user authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Sort by createTime (default asc). | |
| space | Yes | The space — "spaces/<id>" or the bare id from list_spaces / a Chat URL (chat.google.com/room/<id>). | |
| page_size | No | Max messages per page (1..1000; default 25). | |
| page_token | No | nextPageToken from the previous page. | |
| thread_name | No | Only messages in this thread (thread.name from a message). | |
| show_deleted | No | Include deleted messages (deletion metadata only). | |
| created_after | No | Only messages created after this RFC3339 UTC timestamp, e.g. 2026-08-01T00:00:00Z. |