Outbound Message Delivered events are compatible with Webhook, Kinesis and Segment sinks. To learn more, you can get started with the Webhook, Kinesis or Segment quickstarts and refer to the product documentation.
v7 only contains updates to the schema metadata. In other words, there are no new fields between v6 and v7.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. Number of segments for the message.
stringdateUpdated. Date of status update in ISO 8601 format.
The full specification for version 7 is also available as a JSON schema.
v6
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. [NEW] Number of segments for the message.
stringdateUpdated. [NEW] Date of status update in ISO 8601 format.
The full specification for version 6 is also available as a JSON schema.
v5
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. [NEW] Mobile Network Code for the FROM number.
stringmcc. [NEW] Mobile Country Code for the FROM number.
stringrawDlrDoneDate. [NEW] Dlr delivered time.
The full specification for version 5 is also available as a JSON schema.
v4
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. [NEW] Customer message tags.
The full specification for version 4 is also available as a JSON schema.
v3
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. [NEW] Status callback url.
The full specification for version 3 is also available as a JSON schema.
v2
(information)
Info
v2 only contains updates to the schema metadata. In other words, there are no new fields between v1 and v2.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 2 is also available as a JSON schema.
v1
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 1 is also available as a JSON schema.
Failed
com.twilio.messaging.message.failed
Outbound Message Failed events are compatible with Webhook, Kinesis and Segment sinks. To learn more, you can get started with the Webhook, Kinesis or Segment quickstarts and refer to the product documentation.
v7 only contains updates to the schema metadata. In other words, there are no new fields between v6 and v7.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. Number of segments for the message.
stringdateUpdated. Date of status update in ISO 8601 format.
The full specification for version 7 is also available as a JSON schema.
v6
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. [NEW] Number of segments for the message.
stringdateUpdated. [NEW] Date of status update in ISO 8601 format.
The full specification for version 6 is also available as a JSON schema.
v5
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. [NEW] Mobile Network Code for the FROM number.
stringmcc. [NEW] Mobile Country Code for the FROM number.
stringrawDlrDoneDate. [NEW] Dlr delivered time.
The full specification for version 5 is also available as a JSON schema.
v4
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. [NEW] Customer message tags.
The full specification for version 4 is also available as a JSON schema.
v3
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. [NEW] Status callback url.
The full specification for version 3 is also available as a JSON schema.
v2
(information)
Info
v2 only contains updates to the schema metadata. In other words, there are no new fields between v1 and v2.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 2 is also available as a JSON schema.
v1
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 1 is also available as a JSON schema.
Queued
com.twilio.messaging.message.queued
Outbound Message Queued events are compatible with Webhook, Kinesis and Segment sinks. To learn more, you can get started with the Webhook, Kinesis or Segment quickstarts and refer to the product documentation.
v7 only contains updates to the schema metadata. In other words, there are no new fields between v6 and v7.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. Number of segments for the message.
stringdateUpdated. Date of status update in ISO 8601 format.
The full specification for version 7 is also available as a JSON schema.
v6
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. [NEW] Number of segments for the message.
stringdateUpdated. [NEW] Date of status update in ISO 8601 format.
The full specification for version 6 is also available as a JSON schema.
v5
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. [NEW] Mobile Network Code for the FROM number.
stringmcc. [NEW] Mobile Country Code for the FROM number.
stringrawDlrDoneDate. [NEW] Dlr delivered time.
The full specification for version 5 is also available as a JSON schema.
v4
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. [NEW] Customer message tags.
The full specification for version 4 is also available as a JSON schema.
v3
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. [NEW] Status callback url.
The full specification for version 3 is also available as a JSON schema.
v2
(information)
Info
v2 only contains updates to the schema metadata. In other words, there are no new fields between v1 and v2.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 2 is also available as a JSON schema.
v1
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 1 is also available as a JSON schema.
Read
com.twilio.messaging.message.read
Outbound Message Read events are compatible with Webhook, Kinesis and Segment sinks. To learn more, you can get started with the Webhook, Kinesis or Segment quickstarts and refer to the product documentation.
v7 only contains updates to the schema metadata. In other words, there are no new fields between v6 and v7.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. Number of segments for the message.
stringdateUpdated. Date of status update in ISO 8601 format.
The full specification for version 7 is also available as a JSON schema.
v6
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. [NEW] Number of segments for the message.
stringdateUpdated. [NEW] Date of status update in ISO 8601 format.
The full specification for version 6 is also available as a JSON schema.
v5
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. [NEW] Mobile Network Code for the FROM number.
stringmcc. [NEW] Mobile Country Code for the FROM number.
stringrawDlrDoneDate. [NEW] Dlr delivered time.
The full specification for version 5 is also available as a JSON schema.
v4
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. [NEW] Customer message tags.
The full specification for version 4 is also available as a JSON schema.
v3
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. [NEW] Status callback url.
The full specification for version 3 is also available as a JSON schema.
v2
(information)
Info
v2 only contains updates to the schema metadata. In other words, there are no new fields between v1 and v2.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 2 is also available as a JSON schema.
v1
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 1 is also available as a JSON schema.
Sent
com.twilio.messaging.message.sent
Outbound Message Sent events are compatible with Webhook, Kinesis and Segment sinks. To learn more, you can get started with the Webhook, Kinesis or Segment quickstarts and refer to the product documentation.
v7 only contains updates to the schema metadata. In other words, there are no new fields between v6 and v7.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. Number of segments for the message.
stringdateUpdated. Date of status update in ISO 8601 format.
The full specification for version 7 is also available as a JSON schema.
v6
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. [NEW] Number of segments for the message.
stringdateUpdated. [NEW] Date of status update in ISO 8601 format.
The full specification for version 6 is also available as a JSON schema.
v5
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. [NEW] Mobile Network Code for the FROM number.
stringmcc. [NEW] Mobile Country Code for the FROM number.
stringrawDlrDoneDate. [NEW] Dlr delivered time.
The full specification for version 5 is also available as a JSON schema.
v4
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. [NEW] Customer message tags.
The full specification for version 4 is also available as a JSON schema.
v3
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. [NEW] Status callback url.
The full specification for version 3 is also available as a JSON schema.
v2
(information)
Info
v2 only contains updates to the schema metadata. In other words, there are no new fields between v1 and v2.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 2 is also available as a JSON schema.
v1
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 1 is also available as a JSON schema.
Undelivered
com.twilio.messaging.message.undelivered
Outbound Message Undelivered events are compatible with Webhook, Kinesis and Segment sinks. To learn more, you can get started with the Webhook, Kinesis or Segment quickstarts and refer to the product documentation.
v7 only contains updates to the schema metadata. In other words, there are no new fields between v6 and v7.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. Number of segments for the message.
stringdateUpdated. Date of status update in ISO 8601 format.
The full specification for version 7 is also available as a JSON schema.
v6
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. Mobile Network Code for the FROM number.
stringmcc. Mobile Country Code for the FROM number.
stringrawDlrDoneDate. Dlr delivered time.
integernumberOfSegments. [NEW] Number of segments for the message.
stringdateUpdated. [NEW] Date of status update in ISO 8601 format.
The full specification for version 6 is also available as a JSON schema.
v5
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. Customer message tags.
stringmnc. [NEW] Mobile Network Code for the FROM number.
stringmcc. [NEW] Mobile Country Code for the FROM number.
stringrawDlrDoneDate. [NEW] Dlr delivered time.
The full specification for version 5 is also available as a JSON schema.
v4
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. Status callback url.
objecttags. [NEW] Customer message tags.
The full specification for version 4 is also available as a JSON schema.
v3
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
stringstatusCallBackUrl. [NEW] Status callback url.
The full specification for version 3 is also available as a JSON schema.
v2
(information)
Info
v2 only contains updates to the schema metadata. In other words, there are no new fields between v1 and v2.
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 2 is also available as a JSON schema.
v1
stringmessageSid (required). Id of message which the event belongs to.
stringtimestamp (required). Time of the event.
stringaccountSid (required). Id of the Twilio account which was used while sending the message.
stringeventName (required). Description of this event.
stringapiVersion (required). Twilio API version used while sending the message.
stringfrom (required). From number of the message.
stringto (required). To number of the message.
stringmessageStatus (required). The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ.
stringmessagingServiceSid. This field is set to id of messaging service used if the message is sent through a messaging service.
integererrorCode. This field is set to the error code if delivery wasn't successful and an error has occurred.
stringbody. Body of the message.
The full specification for version 1 is also available as a JSON schema.