GetMessageContactStatus
Retrieves the overall delivery status of a message that was sent to a specific contact in Salesforce Marketing Cloud. This procedure aggregates delivery states such as queued, sent, delivered, or failed, supporting detailed message tracking and performance monitoring.
Input
| Name | Type | Required | Description |
| MessageId | String | True | Specifies the unique identifier (Id) of the message that is associated with the MessageContact record. This identifier links the request to a specific MobileConnect message whose contact-level status is being retrieved. |
| TokenId | String | True | Specifies the unique Id that is returned for the MessageContact operation. This value enables retrieval of delivery information that corresponds to a specific send request. |
Result Set Columns
| Name | Type | Description |
| Message | String | Returns the text of the Short Message Service (SMS) message that was sent to the contact. This value reflects the final message content that was delivered or attempted for delivery. |
| Count | Integer | Returns the total number of recipients included in the send request after subtracting any mobile numbers that were unsubscribed at the time of sending. This count represents the number of contacts who were eligible to receive the message. |
| CreateDate | Datetime | Returns the date and time when the MessageContact send request was submitted. This timestamp establishes the start of the message-processing timeline. |
| CompleteDate | Datetime | Returns the date and time when the message send process completed for the associated request. This value helps confirm whether delivery events have fully resolved. |
| Status | String | Returns the delivery status of the message for the specified contact. This status indicates whether the message was delivered, bounced, queued, or failed during carrier or system processing. |
| Tracking | String | Returns the tracking information that describes how the message progressed through the delivery pipeline. Tracking details can include carrier responses, status transitions, timestamps, and other indicators that help diagnose message-delivery outcomes. |