---
updatedAt: 2026-07-28T18:59:56.000Z
agentTools:
  projectIndex: https://domains.opensrs.guide/llms.txt
---

# Domain Event: message_status_change

## Response Parameters for message\_status\_change (domain)

If the request is successful, the **attributes** associative array may include the<br />following:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        message_status
      </td>

      <td>
        Always returned
      </td>

      <td>
        The updated status of the message.

        Possible values are:

        - Queued
        - Sent
        - Bounced
      </td>
    </tr>

    <tr>
      <td>
        message_type
      </td>

      <td>
        Always returned
      </td>

      <td>
        The type of message.
      </td>
    </tr>

    <tr>
      <td>
        reference_id
      </td>

      <td>
        Always returned
      </td>

      <td>
        The unique message ID.
      </td>
    </tr>
  </tbody>
</Table>

## Example Response for message\_status\_change (domain)

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
 <version>0.9</version>
 </header>
<body>
 <data_block>
  <dt_assoc>
   <item key="protocol">XCP</item>
   <item key="object">EVENT</item>
   <item key="response_code">200</item>
   <item key="is_success">1</item>
   <item key="response_text">Command successful</item>
   <item key="transaction_id">2016-12-02 15:24:56 10026 101</item>
   <item key="action">REPLY</item>
   <item key="attributes">
    <dt_assoc>
     <item key="events">
      <dt_array>
       <item key="0">
        <dt_assoc>
         <item key="object_data">
          <dt_assoc>
           <item key="domain_name">somedomain.com</item>
           <item key="message_type">enduser.icann.trade.new.registrant.approval</item>
           <item key="domain_id">310499</item>
           <item key="message_status">QUEUED</item>
           <item key="reference_id">7814e71bb27b751a33bd79555c08e7546b70ce9b4156cbdea8284864b01733cd104a36e1</item>
           <item key="to_address">someone@domain.email</item>
          </dt_assoc>
         </item>
         <item key="object">DOMAIN</item>
         <item key="event_id">d417c52e31e3ff537a034e982546b64f</item>
         <item key="event">MESSAGE_STATUS_CHANGE</item>
         <item key="event_date">2016-12-02T20:24:27Z</item>
        </dt_assoc>
       </item>
      </dt_array>
     </item>
     <item key="total">1</item>
    </dt_assoc>
   </item>
  </dt_assoc>
 </data_block>
</body>
</OPS_envelope>
```
```json
{
   "created_date" : "2026-07-15T23:56:52Z",
   "id" : "f75e1d52-c51a-4efb-bd0d-5da58072b853",
   "notification_type" : "opensrs.domain.message_status_change",
   "payload" : {
      "@type" : "type.googleapis.com/google.protobuf.Struct",
      "value" : {
         "event" : "MESSAGE_STATUS_CHANGE",
         "event_date" : "2026-07-15T23:56:51Z",
         "event_id" : "e0221e85ba492682442f65980073f786",
         "object" : "DOMAIN",
         "object_data" : {
            "domain_id" : "98876632",
            "domain_name" : "example.com",
            "message_status" : "SENT",
            "message_type" : "wp.forwarded.message",
            "reference_id" : "9237e9a1d12476d2abba5690d81ffd998e5ba08465755a23555b40c1ab53eeea24c2a5a6",
            "to_address" : "example@example.com"
         }
      }
   }
}
```

<br />