{
  "data": {
    "id": 2201,
    "assignee_user": {
      "id": 450,
      "email": "sara.jones@example.com",
      "name": "Sara Jones",
      "firstname": "Sara",
      "lastname": "Jones",
      "meta": {
        "sso": "sso-jones-link",
        "profile_picture_url": "https://www.example.com/images/sara.jpg"
      }
    },
    "channel": "Web",
    "closed_datetime": null,
    "created_datetime": "2024-08-22T10:00:00Z",
    "customer": {
      "id": 550,
      "channels": [
        {
          "id": 1
        }
      ],
      "email": "customer550@example.com",
      "external_id": "550-external",
      "firstname": "Michael",
      "integrations": {
        "CRM": {
          "customer_level": "Silver",
          "interaction_count": 10
        }
      },
      "lastname": "Brown",
      "name": "Michael Brown",
      "note": "Needs follow-up on previous issue"
    },
    "external_id": "EXT-2201",
    "from_agent": true,
    "is_unread": true,
    "language": "en",
    "last_message_datetime": "2024-08-22T10:15:00Z",
    "last_received_message_datetime": "2024-08-22T10:14:00Z",
    "messages": [
      {
        "id": 3301,
        "attachments": [
          {
            "url": "https://www.example.com/attachments/info.pdf",
            "name": "Details.pdf",
            "size": 2048,
            "content_type": "application/pdf",
            "public": true,
            "extra": "Detailed document"
          }
        ],
        "body_html": "<p>Thank you for reaching out. Please see the attached document for more information.</p>",
        "body_text": "Thank you for reaching out. Please see the attached document for more information.",
        "channel": "Email",
        "created_datetime": "2024-08-22T10:15:00Z",
        "external_id": "MSG-3301",
        "failed_datetime": null,
        "from_agent": true,
        "integration_id": 501,
        "last_sending_error": null,
        "message_id": "MSG-3301",
        "receiver": {
          "id": 550,
          "email": "customer550@example.com",
          "name": "Michael Brown",
          "firstname": "Michael",
          "lastname": "Brown",
          "meta": null
        },
        "rule_id": 101,
        "sender": {
          "id": 450,
          "email": "sara.jones@example.com",
          "name": "Sara Jones",
          "firstname": "Sara",
          "lastname": "Jones",
          "meta": null
        },
        "sent_datetime": "2024-08-22T10:15:00Z",
        "source": {
          "type": "Email",
          "to": [
            {
              "name": "Michael Brown",
              "address": "customer550@example.com"
            }
          ],
          "cc": [],
          "bcc": [],
          "from": {
            "name": "Sara Jones",
            "address": "sara.jones@example.com"
          }
        },
        "stripped_html": "<p>Thank you for reaching out. Please see the attached document for more information.</p>",
        "stripped_text": "Thank you for reaching out. Please see the attached document for more information.",
        "subject": "Further Information Required",
        "ticket_id": 2201,
        "via": "Email",
        "uri": "https://www.example.com/messages/3301"
      }
    ],
    "meta": {
      "issue_type": "technical",
      "priority": "high"
    },
    "opened_datetime": "2024-08-22T10:01:00Z",
    "reply_options": "Reply, Forward, Archive",
    "satisfaction_survey": {
      "id": 402,
      "body_text": "Please rate our service.",
      "created_datetime": "2024-08-22T12:30:00Z",
      "customer_id": 550,
      "meta": {
        "survey_type": "email"
      },
      "score": null,
      "scored_datetime": null,
      "sent_datetime": null,
      "should_send_datetime": "2024-08-23T12:30:00Z",
      "ticket_id": 2201
    },
    "snoozed_datetime": null,
    "spam": false,
    "status": "Open",
    "subject": "Support Inquiry",
    "tags": [
      {
        "id": 301,
        "name": "Technical Support",
        "uri": "https://www.example.com/tags/technical-support",
        "decoration": {
          "color": "#007BFF"
        }
      }
    ],
    "trashed_datetime": null,
    "updated_datetime": "2024-08-22T10:20:00Z",
    "via": "Web",
    "uri": "https://www.example.com/tickets/2201"
  }
}