Update Conversation Message
Update an existing message in the conversation
Authorization
accountSid_authToken In: header
Path Parameters
The unique ID of the Conversation for this message.
A 34 character string that uniquely identifies this resource.
^IM[0-9a-fA-F]{32}$34 <= length <= 34Header Parameters
The X-Twilio-Webhook-Enabled HTTP request header
Value in
- "true"
- "false"
Request Body
application/x-www-form-urlencoded
The channel specific identifier of the message's author. Defaults to system.
The content of the message, can be up to 1,600 characters long.
The date that this resource was created.
date-timeThe date that this resource was last updated. null if the message has not been edited.
date-timeA string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. Note that if the attributes are not set "{}" will be returned.
The subject of the message, can be up to 256 characters long.
Response Body
application/json
curl -X POST "https://example.com/v1/Conversations/string/Messages/stringstringstringstringstringstri" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'Body=Hello&Author=message+author&Attributes=%7B+%22importance%22%3A+%22high%22+%7D&DateCreated=2015-12-16T22%3A18%3A37Z&DateUpdated=2015-12-16T22%3A18%3A38Z'{ "sid": "IMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "conversation_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "body": "Hello", "media": null, "author": "message author", "participant_sid": "MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "attributes": "{ \"importance\": \"high\" }", "date_created": "2015-12-16T22:18:37Z", "date_updated": "2015-12-16T22:18:38Z", "index": 0, "delivery": { "total": 2, "sent": "all", "delivered": "some", "read": "some", "failed": "none", "undelivered": "none" }, "content_sid": null, "url": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/IMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "links": { "delivery_receipts": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/IMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Receipts", "channel_metadata": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/IMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelMetadata" }}