POST
/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.jsonCreate message feedback
Creates Message Feedback to record whether the recipient performed a tracked action associated with a message. Identify the account and message, then optionally provide the reported Outcome. The response contains the created feedback resource.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
AccountSidstringrequired
The SID of the account associated with the Message resource for which to create feedback. It must be a 34-character account SID beginning with `AC`.
MessageSidstringrequired
The SID of the Message resource for which to create feedback. It must be a 34-character SID beginning with `SM` or `MM`.
Optional form-encoded feedback details.
Outcomestringoptional
Reported outcome indicating whether there is confirmation that the Message recipient performed a tracked user action. Can be: `unconfirmed` or `confirmed`. For more details see [How to Optimize Message Deliverability with Message Feedback](https://www.twilio.com/docs/messaging/guides/send-message-feedback-to-twilio).
200Returns the created Message Feedback resource, including its account SID, message SID, outcome, timestamps, and URI.
account_sidstringoptional
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this MessageFeedback resource.
message_sidstringoptional
The SID of the Message resource associated with this MessageFeedback resource.
outcomestringoptional
Reported outcome indicating whether there is confirmation that the Message recipient performed a tracked user action. Can be: `unconfirmed` or `confirmed`. For more details see [How to Optimize Message Deliverability with Message Feedback](https://www.twilio.com/docs/messaging/guides/send-message-feedback-to-twilio).
date_createdstringoptional
The date and time in GMT when this MessageFeedback resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
date_updatedstringoptional
The date and time in GMT when this MessageFeedback resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
uristringoptional
The URI of the resource, relative to `https://api.twilio.com`.
Error handling
AccountSid must be a 34-character account SID beginning with AC, and MessageSid must be a 34-character Message SID beginning with SM or MM. If you provide Outcome, it must be confirmed or unconfirmed.