Create message feedback
Customer-provided feedback on delivery confirmation
Path parameters
-
The SID of the Account that will create the resource.
-
The SID of the Message resource for which the feedback was provided.
Body
-
Outcome string
Whether the feedback has arrived. Can be:
unconfirmed
orconfirmed
. Ifprovide_feedback
=true
in the initial HTTP POST, the initial value of this property isunconfirmed
. After the message arrives, update the value toconfirmed
.Values are
confirmed
orunconfirmed
.
POST /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Outcome=confirmed'
Request example
{
"Outcome": "confirmed"
}
Request examples
{
"Outcome": "confirmed"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"message_sid": "string",
"outcome": "confirmed",
"uri": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"message_sid": "string",
"outcome": "confirmed",
"uri": "string"
}