{
  "data": {
    "data": [
      {
        "id": 3005,
        "attachments": [
          {
            "url": "https://www.example.com/attachments/report.pdf",
            "name": "AnnualReport.pdf",
            "size": 2500,
            "content_type": "application/pdf",
            "public": true,
            "extra": "Annual financial report"
          },
          {
            "url": "https://www.example.com/attachments/photo.jpeg",
            "name": "EventPhoto.jpeg",
            "size": 1500,
            "content_type": "image/jpeg",
            "public": false,
            "extra": "Photo from the company event"
          }
        ],
        "body_html": "<p>Here is the information you requested.</p>",
        "body_text": "Here is the information you requested.",
        "channel": "Email",
        "created_datetime": "2024-08-20T15:00:00Z",
        "external_id": "EXT123456",
        "failed_datetime": null,
        "from_agent": true,
        "integration_id": 123,
        "last_sending_error": null,
        "message_id": "MSG000456",
        "receiver": {
          "id": 2020,
          "email": "customer@example.com",
          "name": "Sam Doe",
          "firstname": "Sam",
          "lastname": "Doe",
          "meta": null
        },
        "rule_id": 105,
        "sender": {
          "id": 1010,
          "email": "support@company.com",
          "name": "Support Team",
          "firstname": "Support",
          "lastname": "Team",
          "meta": null
        },
        "sent_datetime": "2024-08-20T15:05:00Z",
        "source": {
          "type": "email",
          "to": [
            {
              "name": "Sam Doe",
              "address": "sam.doe@example.com"
            }
          ],
          "cc": [],
          "bcc": [],
          "from": {
            "name": "Support Team",
            "address": "support@company.com"
          }
        },
        "stripped_html": "<p>Here is the information you requested.</p>",
        "stripped_text": "Here is the information you requested.",
        "subject": "Your Requested Information",
        "ticket_id": 4005,
        "via": "email",
        "uri": "https://www.example.com/tickets/4005"
      }
    ],
    "object": "list",
    "uri": "/messages",
    "meta": {
      "prev_cursor": null,
      "next_cursor": null
    }
  }
}