Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Send a message with message feedback in AWS End User Messaging SMS

Focus mode
Send a message with message feedback in AWS End User Messaging SMS - AWS End User Messaging SMS

To enable message feedback when sending a message with SendTextMessage, or SendMediaMessage, set the MessageFeedbackEnabled parameter to true. When you use message feedback you have to set the message feedback status record to update your message feedback metrics .

The following is a partial example of sending an SMS with message feedback enabled by using the --message-feedback-enabled parameter.

Sending an SMS message with message feedback enabled with the API
  • At the command line, enter the following command:

    aws pinpoint-sms-voice-v2 --region 'us-east-1' send-text-message --destination-phone-number +12065550150 --origination-identity +14255550120 --message-body 'text body' --message-feedback-enabled

    In the preceding command, make the following changes:

    • Replace us-east-1 with the AWS Region that your origination identity is stored in.

    • Replace +12065550150 with the destination phone number.

    • Replace +14255550120 with your origination identity. The origination identity must be ACTIVE and able to send to the destination phone number.

    • Replace text body with your text message.

    • Leave --message-feedback-enabled to have message feedback enabled.

The following is a partial example of sending an SMS with message feedback enabled in a configuration set. By using a configuration set you can also take advantage of any event logging specified by the configuration set.

Example of sending an SMS message with message feedback with a configuration set
  • At the command line, enter the following command:

    aws pinpoint-sms-voice-v2 --region 'us-east-1' send-text-message --destination-phone-number +12065550150 --origination-identity +14255550120 --message-body 'text body' --configuration-set-name ConfigSetName

    In the preceding command, make the following changes:

    • Replace us-east-1 with the AWS Region that your origination identity is stored in.

    • Replace +12065550150 with the destination phone number.

    • Replace +14255550120 with your origination identity. The origination identity must be ACTIVE and able to send to the destination phone number.

    • Replace text body with your text message.

    • Replace ConfigSetName with the name of the configuration set.

If AWS End User Messaging SMS accepts the command you will receive the MessageId. This only means the command was successfully received and not that the destination device has received the message yet.

{ "MessageId": "string" }

You need to save the MessageId to update that your customer received the message.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.