{"$id":"https://events-schemas.twilio.com/Messaging.MessageStatus/4","$schema":"https://events-schemas.twilio.com/vocabulary/twilio","additionalProperties":false,"description":"MessageStatus event definition","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"},"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"},"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"},"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"}