Mailosaur · Example Payload

Mailosaur Search Messages Example

Email TestingSMS TestingDeveloper ToolsQA AutomationCI/CDSMTPTOTPDeliverability

Mailosaur Search Messages Example is an example object payload from Mailosaur, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summaryrequestresponse

Example Payload

Raw ↑
{
  "summary": "Search for an email message in a Mailosaur inbox",
  "request": {
    "method": "POST",
    "url": "https://mailosaur.com/api/messages/search?server=a1bcdef2&timeout=10000",
    "headers": {
      "Authorization": "Basic {base64(api_key:)}",
      "Content-Type": "application/json"
    },
    "body": {
      "sentTo": "test-user@a1bcdef2.mailosaur.net",
      "subject": "Welcome to Our Service",
      "match": "ALL"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "items": [
        {
          "id": "msg_abc123",
          "type": "Email",
          "server": "a1bcdef2",
          "from": [{ "name": "Sender Name", "email": "sender@example.com" }],
          "to": [{ "name": "", "email": "test-user@a1bcdef2.mailosaur.net" }],
          "subject": "Welcome to Our Service",
          "received": "2026-06-13T10:00:00.000Z",
          "attachments": 0
        }
      ]
    }
  }
}