cURL
curl --request GET \ --url https://api.openmail.sh/v1/inboxes/{id}/messages \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "threadId": "<string>", "direction": "inbound", "fromAddr": "<string>", "toAddr": "<string>", "subject": "<string>", "bodyText": "<string>", "bodyHtml": "<string>", "attachments": [ { "filename": "<string>", "contentType": "<string>", "sizeBytes": 123, "url": "<string>" } ], "status": "pending", "createdAt": "2023-11-07T05:31:56Z" } ], "total": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x <= 100
inbound
outbound
List of messages
Show child attributes