Messaging | Nov. 21, 2024

Status Update Event Streams Now Include Additional Data

As of November 21st, we have released a new messaging status update schema in Event Streams. Status update responses now include the number of message segments and the status update timestamp in ISO 8601 format.

To avoid unexpected changes in event formats, Event Streams supports multiple schema versions per event type. To use this new schema, log into the Console, select the latest schema version for outbound messages, and configure your event type destination sinks.

 

"data": {
            "accountSid": "AC00000000000000000000000000000000",
            "apiVersion": "2010-04-01",
            "body": "58a93bfc-ef6f-4a12-8881-0064e1ad2a55",
            "dateUpdated": "2024-05-29T10:57:57.563495225Z",
            "errorCode": "400",
            "eventName": "com.twilio.messaging.message.sent",
            "from": "+14015551212",
            "messageSid": "SMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "messageStatus": "SENT",
            "messagingServiceSid": "MGMG9752274e9e519418a7406176694466fa",
            "numberOfSegments": 1,
            "rawDlrDoneDate": "2024-05-29T10:57:57.563495225Z",
            "statusCallBackUrl": "https://statusCallbackUrl",
            "tags":{},
            "timestamp": "2024-05-29T10:57:57.563495225Z",
            "to": "+14155555555"
        }
Messaging Event Streams