inboxes > messages
Batch Get Messages
Changed onFetch 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-ids <id1> --message-ids <id2>
post/v0/inboxes/{inbox_id}/messages/batch-get
Request
- Base URLhttps://api.agentmail.to
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
inbox_idstring required
The ID of the inbox.
Request body
Response
Response with status 200
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- 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
request body became optional
- 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