InboxesMessages
Batch Get Messages
Fetch metadata for up to 500 messages in one request. Missing or restricted IDs are silently omitted; compare count against limit to detect misses.
CLI:
agentmail inboxes:messages batch-get --inbox-id <inbox_id> --message-id <id1> --message-id <id2>
post/v0/inboxes/{inbox_id}/messages/batch-get
Path parameters
inbox_idstring required
The ID of the inbox.
Request body
Response
Changes
Changed in 2 of the 34 revisions of this API.5
- ○
added the optional property
codeto the response with the400statusresponse-optional-property-added
- ○
added the optional property
docsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
fixto the response with the400statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the400statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○