List Messages
Changed onLists messages in the inbox, most recent first. Pass from, to, or subject to filter by substring. Filtered requests are served by search, which caps limit at 100. For relevance-ranked full-text search across sender, recipients, subject, and message body, use Search Messages.
CLI:
agentmail inboxes messages list --inbox-id <inbox_id>
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/inboxes/{inbox_id}/messages
- AuthHTTP bearer
Path parameters
The ID of the inbox.
Query parameters
Limit of number of items returned.
Page token for pagination.
Labels to filter by.
Timestamp before which to filter by.
Timestamp after which to filter by.
Sort in ascending temporal order.
Include spam in results.
Include blocked in results.
Include unauthenticated in results.
Include trash in results.
Filter to messages whose sender contains this value (substring match). Repeatable; all values must match.
Filter to messages whose recipients (to, cc, or bcc) contain this value (substring match). Repeatable; all values must match.
Filter to messages whose subject contains this value (substring match). Repeatable; all values must match.
Response
Response with status 200
Changes
- info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
inboxes > messagesadded - info
api tag
InboxesMessagesremoved - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parameterfrom - info
added the new optional
queryrequest parametersubject - info
added the new optional
queryrequest parameterto - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info