List messages
GET
https://myagentmail.com/v1/inboxes/{id}/messagesFor agents View as Markdown
Path parameters
idrequired string | Inbox UUID |
Query parameters
limitinteger | |
offsetinteger | |
direction"inbound" | "outbound" |
Responses
200application/jsonOK
messagesobject[] | |
idstring | format: uuid |
direction"inbound" | "outbound" | enum: "inbound" | "outbound" |
fromstring | |
tostring | |
subjectstring | |
plainBodystring | |
htmlBodystring | |
isReadboolean | |
threadIdstring | format: uuid |
messageIdHeaderstring | |
inReplyTostring | |
receivedAtstring | format: date-time |
attachmentsobject[] | |
idstring | format: uuid |
filenamestring | |
contentTypestring | |
sizeBytesinteger | |
paginationobject | |
totalinteger | |
limitinteger | |
offsetinteger |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.