Create Message Feedback to confirm a tracked user action was performed by the recipient of the associated Message
The MessageFeedback subresource of a Message resource. MessageFeedback contains the reported outcome of whether the Message recipient performed a tracked user action.
Create Message Feedback to confirm a tracked user action was performed by the recipient of the associated Message
Path parameters
-
The SID of the Account associated with the Message resource for which to create MessageFeedback.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The SID of the Message resource for which to create MessageFeedback.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^(SM|MM)[0-9a-fA-F]{32}$
.
Body
-
Reported outcome indicating whether there is confirmation that the Message recipient performed a tracked user action. Can be:
unconfirmed
orconfirmed
. For more details see How to Optimize Message Deliverability with Message Feedback.Values are
confirmed
orunconfirmed
.
curl \
--request POST 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Outcome=confirmed'
{"Outcome"=>"confirmed"}
{
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json",
"outcome": "confirmed",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"message_sid": "MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "Thu, 30 Jul 2015 20:00:00 +0000",
"date_updated": "Thu, 30 Jul 2015 20:00:00 +0000"
}