List all messages

GET/messaging/{connection_id}/message

Parameters

limitnumber default=100
offsetnumber default=0
updated_gtedate
Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
sort enum
order enum
querystring
Query string to search. eg. email address or name
parent_idstring
The parent ID to filter by
channel_idstring
The channel ID to filter by. You can also use these aliases; INBOX, SENT or DRAFT (reference to MessagingChannel)
start_gtestring
The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_ltstring
The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
expandboolean
Whether to flatten grouped or recurring items into individual entries.
user_idstring
The user/employee ID to filter by (reference to HrisEmployee)
type enum
user_mentioned_idstring
The user/employee ID to filter by
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

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: 'GET',
  url: 'https://api.unified.to/messaging/5de520f96e439b002043d8dc/message',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    limit: 50,
    offset: 0,
    updated_gte: '2026-05-21T18:12:53.921Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    parent_id: '',
    channel_id: '',
    start_gte: '',
    end_lt: '',
    expand: false,
    user_id: '',
    type: '',
    user_mentioned_id: '',
    fields: '',
    raw: '',
  }
};

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