{
  "data": {
    "id": 1234,
    "assignee_user": {
      "id": 567,
      "email": "assignee@example.com",
      "name": "Alex Johnson",
      "firstname": "Alex",
      "lastname": "Johnson",
      "meta": {
        "sso": "sso-link",
        "profile_picture_url": "https://www.example.com/images/profile.jpg"
      }
    },
    "channel": "Email",
    "closed_datetime": null,
    "created_datetime": "2024-08-21T12:00:00Z",
    "customer": {
      "id": 789,
      "channels": [
        {
          "id": 1
        },
        {
          "id": 2
        }
      ],
      "email": "customer@example.com",
      "external_id": "C123456",
      "firstname": "Sam",
      "integrations": {
        "CRM": {
          "customer_level": "Gold",
          "points": 1200
        }
      },
      "lastname": "Doe",
      "name": "Sam Doe",
      "note": "VIP Customer, handle with care."
    },
    "external_id": "EXT1234",
    "from_agent": false,
    "is_unread": true,
    "language": "en",
    "last_message_datetime": "2024-08-21T12:05:00Z",
    "last_received_message_datetime": "2024-08-21T12:04:00Z",
    "messages": [
      {
        "id": 2345,
        "attachments": [
          {
            "url": "https://www.example.com/attachments/info.pdf",
            "name": "Information.pdf",
            "size": 1024,
            "content_type": "application/pdf",
            "public": true,
            "extra": "User manual"
          }
        ],
        "body_html": "<p>Please see the attached user manual for more information.</p>",
        "body_text": "Please see the attached user manual for more information.",
        "channel": "Email",
        "created_datetime": "2024-08-21T12:05:00Z",
        "external_id": null,
        "failed_datetime": null,
        "from_agent": true,
        "integration_id": 456,
        "last_sending_error": null,
        "message_id": "MSG4567",
        "receiver": {
          "id": 789,
          "email": "customer@example.com",
          "name": "Sam Doe",
          "firstname": "Sam",
          "lastname": "Doe",
          "meta": null
        },
        "rule_id": 321,
        "sender": {
          "id": 567,
          "email": "support@example.com",
          "name": "Support Team",
          "firstname": "Support",
          "lastname": "Team",
          "meta": null
        },
        "sent_datetime": "2024-08-21T12:05:00Z",
        "source": {
          "type": "email",
          "to": [
            {
              "name": "Sam Doe",
              "address": "customer@example.com"
            }
          ],
          "cc": [],
          "bcc": [],
          "from": {
            "name": "Support Team",
            "address": "support@example.com"
          }
        },
        "stripped_html": "<p>Please see the attached user manual for more information.</p>",
        "stripped_text": "Please see the attached user manual for more information.",
        "subject": "User Manual",
        "ticket_id": 1234,
        "via": "Email",
        "uri": "https://www.example.com/tickets/1234"
      }
    ],
    "meta": {
      "issue_type": "technical",
      "priority": "high"
    },
    "opened_datetime": "2024-08-21T12:00:00Z",
    "reply_options": "Reply, Forward, Archive",
    "satisfaction_survey": {
      "id": 876,
      "body_text": "Please rate our service.",
      "created_datetime": "2024-08-21T12:30:00Z",
      "customer_id": 789,
      "meta": {
        "survey_type": "email"
      },
      "score": null,
      "scored_datetime": null,
      "sent_datetime": null,
      "should_send_datetime": "2024-08-22T12:30:00Z",
      "ticket_id": 1234
    },
    "snoozed_datetime": null,
    "spam": false,
    "status": "open",
    "subject": "Technical Support Inquiry",
    "tags": [
      {
        "id": 1,
        "name": "Technical",
        "uri": "https://www.example.com/tags/technical",
        "decoration": {
          "color": "#FF5733"
        }
      },
      {
        "id": 2,
        "name": "High Priority",
        "uri": "https://www.example.com/tags/high_priority",
        "decoration": {
          "color": "#C70039"
        }
      }
    ],
    "trashed_datetime": null,
    "updated_datetime": "2024-08-21T12:10:00Z",
    "via": "Email",
    "uri": "https://www.example.com/tickets/1234"
  }
}