{"$id":"https://events-schemas.twilio.com/Messaging.MessageStatus/7","$schema":"https://events-schemas.twilio.com/vocabulary/twilio","additionalProperties":false,"description":"MessageStatus event definition","examples":[{"accountSid":"AC0000000000000000000000000000001","apiVersion":"2010-04-01","body":"Ahoy!","dateUpdated":"2025-01-01T00:01:00.000Z","eventName":"com.twilio.messaging.message.delivered","from":"+11234567890","mcc":"310","messageSid":"SM0000000000000000000000000000001","messageStatus":"QUEUED","messagingServiceSid":"MG0000000000000000000000000000001","mnc":"090","numberOfSegments":1,"statusCallBackUrl":"https://mycompany.com/an-endpoint","timestamp":"2025-01-01T00:00:00.000Z","to":"+12345678901"},{"accountSid":"AC0000000000000000000000000000001","apiVersion":"2010-04-01","body":"Ahoy!","dateUpdated":"2025-01-01T00:01:00.000Z","eventName":"com.twilio.messaging.message.delivered","from":"+11234567890","mcc":"310","messageSid":"SM0000000000000000000000000000001","messageStatus":"DELIVERED","messagingServiceSid":"MG0000000000000000000000000000001","mnc":"090","numberOfSegments":1,"rawDlrDoneDate":"2508240944","statusCallBackUrl":"https://mycompany.com/an-endpoint","timestamp":"2025-01-01T00:00:00.000Z","to":"+12345678901"},{"accountSid":"AC0000000000000000000000000000001","apiVersion":"2010-04-01","body":"Ahoy!","dateUpdated":"2025-01-01T00:01:00.000Z","errorCode":30450,"eventName":"com.twilio.messaging.message.delivered","from":"+11234567890","mcc":"310","messageSid":"SM0000000000000000000000000000001","messageStatus":"UNDELIVERED","messagingServiceSid":"MG0000000000000000000000000000001","mnc":"090","numberOfSegments":1,"rawDlrDoneDate":"2508240944","statusCallBackUrl":"https://mycompany.com/an-endpoint","timestamp":"2025-01-01T00:00:00.000Z","to":"+12345678901"}],"properties":{"accountSid":{"description":"Id of the Twilio account which was used while sending the message","type":"string"},"apiVersion":{"description":"Twilio API version used while sending the message","type":"string"},"body":{"description":"Body of the message","type":"string"},"dateUpdated":{"description":"Date of status update in ISO 8601 format","type":"string"},"errorCode":{"description":"This field is set to the error code if delivery wasn't successful and an error has occurred","type":"integer"},"eventName":{"description":"Description of this event","type":"string"},"from":{"description":"From number of the message","type":"string"},"mcc":{"description":"Mobile Country Code for the FROM number","type":"string"},"messageSid":{"description":"Id of message which the event belongs to","type":"string"},"messageStatus":{"description":"The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.","type":"string"},"messagingServiceSid":{"description":"This field is set to id of messaging service used if the message is sent through a messaging service","type":"string"},"mnc":{"description":"Mobile Network Code for the FROM number","type":"string"},"numberOfSegments":{"description":"Number of segments for the message","type":"integer"},"rawDlrDoneDate":{"description":"Dlr delivered time","type":"string"},"statusCallBackUrl":{"description":"Status callback url","type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Customer message tags","type":"object"},"timestamp":{"description":"Time of the event","type":"string"},"to":{"description":"To number of the message","identityType":"phone","type":"string"}},"required":["messageSid","timestamp","accountSid","eventName","apiVersion","from","to","messageStatus"],"title":"MessageStatus","type":"object"}