Update a message

PUT/messaging/{connection_id}/message/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Message

Payload

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
channel_idstring
@deprecated (reference to MessagingChannel)
channel_idsstring array
@deprecated; use channels instead
channels array
Represents the names of all channels to which the message is sent. Identifies the channels where the message is posted.
parent_idstring
Represents the ID of the immediate predecessor message in the thread. Identifies a specific message to which the current message directly replies.
root_message_idstring
@deprecated
message_thread_identifierstring
the opaque identifier for the first message in a thread
author_memberobject
for email systems, this field represents the From value
destination_members array
for email systems, this field represents the To value
hidden_members array
for email systems, this field represents the BCC value
mentioned_members array
for email systems, this field represents the CC value
reactions array
subjectstring
messagestring
message_htmlstring
message_markdownstring
attachments array
web_urlstring
referencestring
eg. RFC822 MessageID
has_childrenboolean
is_unreadboolean
buttons array

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
channel_idstring
@deprecated (reference to MessagingChannel)
channel_idsstring array
@deprecated; use channels instead
channels array
Represents the names of all channels to which the message is sent. Identifies the channels where the message is posted.
parent_idstring
Represents the ID of the immediate predecessor message in the thread. Identifies a specific message to which the current message directly replies.
root_message_idstring
@deprecated
message_thread_identifierstring
the opaque identifier for the first message in a thread
author_memberobject
for email systems, this field represents the From value
destination_members array
for email systems, this field represents the To value
hidden_members array
for email systems, this field represents the BCC value
mentioned_members array
for email systems, this field represents the CC value
reactions array
subjectstring
messagestring
message_htmlstring
message_markdownstring
attachments array
web_urlstring
referencestring
eg. RFC822 MessageID
has_childrenboolean
is_unreadboolean
buttons array
const options = {
  method: 'PUT',
  url: 'https://api.unified.to/messaging/5de520f96e439b002043d8dc/message/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?