Transactional SMS Events

The Event Notification Service supports these event notification types.

The content of an event payload varies based on the type of SMS event.

A TransactionalSendEvents.SmsSent event indicates that an SMS message was sent to a downstream delivery partner. The event payload contains the attributes in this table.

AttributeTypeDescription
compositeIdstringA unique tracking ID for the event
definitionKeystringThe external key of the Send Definition that’s associated with the message
eidnumberThe Enterprise ID (EID) of the account that produced the event
eventCategoryTypestringThe SMS event type
infoobjectAn object that contains information about the message
info.messageKeystringA unique ID for the message
info.subscriberKeystringThe recipient’s unique subscriber key
info.tostringThe recipient’s mobile number
midnumberThe Member ID (MID) of the account that produced the event
timestampUTCnumberA timestamp for the event

This JSON object is an example of an TransactionalSendEvents.SmsSent event payload.

A TransactionalSendEvents.SmsNotSent event indicates that an SMS message wasn’t sent to a downstream delivery partner. The event payload contains the attributes in this table.

AttributeTypeDescription
compositeIdStringA unique tracking ID for the event
definitionIdStringThe unique ID of the Send Definition that’s associated with the message
definitionKeyStringThe external key of the Send Definition
eidNumberThe Enterprise ID (EID) of the account that produced the event
eventCategoryTypeStringThe SMS event type
infoObjectAn object that contains information about the message
info.messageKeyStringA unique ID for the message
info.statusCodeStringA string that represents the reason that the message wasn’t sent
info.subscriberKeyStringThe recipient’s unique subscriber key
info.toStringThe recipient’s mobile number
midNumberThe Member ID (MID) of the account that produced the event
timestampUTCNumberA timestamp for the event

This JSON object is an example of an TransactionalSendEvents.SmsNotSent event payload.

A TransactionalSendEvents.SmsTransient event indicates that a message is still being delivered. The event payload contains the attributes in this table.

AttributeTypeDescription
composite.batchIdStringThe unique ID of the batch associated with an SMS send job
composite.jobIdStringThe unique ID of the SMS send
composite.mobileNumberStringThe recipient’s mobile number
composite.subscriberIdStringThe recipient’s unique subscriber ID
composite.tsidStringThe unique ID of the triggered send that resulted in the message being sent
compositeIdStringA unique tracking ID for the event
definitionIdStringThe unique ID of the Send Definition that’s associated with the message
definitionKeyStringThe external key of the Send Definition
eidNumberThe Enterprise ID (EID) of the account that produced the event
eventCategoryTypeStringThe SMS event type
info.countryCodeStringThe two-character ISO 3166 code of the locale that the message was sent to
info.fromStringThe phone number or alphanumeric code that the message was sent from
info.messageKeyStringA unique ID for the message
info.ordinalNumberThe part in a multi-part SMS message, with the first part having a value of 0
info.statusCodeStringA code that represents the reason that the message wasn’t sent
info.statusMessageStringA string that describes why the message wasn’t sent
info.subscriberKeyStringThe recipient’s subscriber key
info.toStringThe recipient’s mobile number
midNumberThe Member ID (MID) of the account that produced the event
timestampUTCNumberA timestamp for the event

This JSON object is an example of a TransactionalSendEvents.SmsTransient event payload.

A TransactionalSendEvents.SmsDelivered event indicates that an SMS message was delivered to the recipient's device. The event payload contains the attributes in this table.

AttributeTypeDescription
composite.batchIdStringThe unique ID of the batch associated with an SMS send job
composite.jobIdStringThe unique ID of the SMS send
composite.mobileNumberStringThe recipient’s mobile number
composite.subscriberIdStringThe recipient’s unique subscriber ID
composite.tsidStringThe unique ID of the triggered send that resulted in the message being sent
compositeIdStringA unique tracking ID for the event
definitionIdStringThe unique ID of the Send Definition that’s associated with the message
definitionKeyStringThe external key of the Send Definition
eidNumberThe Enterprise ID (EID) of the account that produced the event
eventCategoryTypeStringThe SMS event type
info.countryCodeStringThe two-character ISO 3166 code of the locale that the message was sent to
info.fromStringThe phone number or alphanumeric code that the message was sent from
info.messageKeyStringA unique ID for the message
info.ordinalNumberThe part in a multi-part SMS message, with the first part having a value of 0
info.statusCodeStringA code that represents the reason that the message wasn’t sent
info.statusMessageStringA string that describes why the message wasn’t sent
info.subscriberKeyStringThe recipient’s subscriber key
info.toStringThe recipient’s mobile number
midNumberThe Member ID (MID) of the account that produced the event
timestampUTCNumberA timestamp for the event

This JSON object is an example of a TransactionalSendEvents.SmsDelivered event payload.

A TransactionalSendEvents.SmsBounced event indicates that an SMS message wasn’t delivered to the recipient’s device. The event payload contains the attributes in this table.

AttributeTypeDescription
composite.batchIdStringThe unique ID of the batch associated with an SMS send job
composite.jobIdStringThe unique ID of the SMS send
composite.mobileNumberStringThe recipient’s mobile number
composite.subscriberIdStringThe recipient’s unique subscriber ID
composite.tsidStringThe unique ID of the triggered send that resulted in the message being sent
compositeIdStringA unique tracking ID for the event
definitionIdStringThe unique ID of the Send Definition that’s associated with the message
definitionKeyStringThe external key of the Send Definition
eidNumberThe Enterprise ID (EID) of the account that produced the event
eventCategoryTypeStringThe SMS event type
info.countryCodeStringThe two-character ISO 3166 code of the locale that the message was sent to
info.fromAddressStringThe phone number or alphanumeric code that the message was sent from
info.messageKeyStringA unique ID for the message
info.ordinalNumberThe part in a multi-part SMS message, with the first part having a value of 0
info.statusCodeStringA code that represents the reason that the message wasn’t sent
info.statusMessageStringA string that describes why the message wasn’t sent
info.subscriberKeyStringThe recipient’s subscriber key
info.toStringThe recipient’s mobile number
midNumberThe Member ID (MID) of the account that produced the event
timestampUTCNumberA timestamp for the event

This JSON object is an example of a TransactionalSendEvents.SmsBounced event payload.