Message Search
Searches for messages in the context of a specified user, given an argument-based query.
No. of results to skip.
Max no. of results to return. If no value is provided, 50 is the default.
Describes where content should be searched for that query. It can exclusively apply to Symphony content or to one Connector.
Messages sort direction : ASC or DESC (default to DESC)
Target search tier : hot, warm or all (default to hot)
Session authentication token.
Key Manager authentication token.
Search for messages containing this text. Requires streamId to be specified.
Search for messages sent to this stream
Search for messages sent to this type of streams. Accepted values are CHAT, IM, MIM, ROOM, POST.
Search for messages sent by this user ID
Search for messages containing this hashtag
Search for messages containing this cashtag
Search for messages mentioning this user ID
Search for messages matching this signal. Can only be combined with date filtering and paging parameters.
Search for messages sent on or after this timestamp
Search for messages sent before this timestamp
OK
A representation of a message sent by a user of Symphony
Id of the message
Id of the parent message, set when the message is a reply to another message or a forwarded message. Since Agent 20.14.
Timestamp of the message in milliseconds since Jan 1 1970
Message content in MessageMLV2
Message data in EntityJSON
Indicates if the message have external recipients. Only present on real time messaging.
Details if event failed to parse for any reason. The contents of this field may not be useful, depending on the nature of the error. Only present when error occurs.
User agent string for client that sent the message. Allows callers to identify which client sent the origin message (e.g. API Agent, SFE Client, mobile, etc)
Indicates the format in which the message was originally sent. This could have been either:
- com.symphony.markdown - Markdown OR Message ML V1
- com.symphony.messageml.v2 - Message ML V2
Message that may be sent along with a regular message if configured for the POD, usually the first message sent in a room that day.
Unique session identifier from where the message was created.
fa691cd3-484a-4109-aeb2-57c05b78c95bId of the message that the current message is replacing (present only if set)
Id of the message that the current message is being replaced with (present only if set)
Timestamp of when the initial message has been created in milliseconds since Jan 1 1970 (present only if set)
Id the the initial message that has been updated (present only if set)
When false the user/s will receive the message update as unread (true by default)
No Messages.
Client error, see response body for further details.
Unauthorized: Session tokens invalid.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
Request Example
curl -X POST https://acme.symphony.com/agent/v1/message/search \
-H "sessionToken: SESSION_TOKEN" \
-H "keyManagerToken: KEYMANAGER_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "hashtag":"newWorld" }'
📘 Optional attributes returned
Search Query Arguments
Date selector
📘 See also
🚧
Last updated
Was this helpful?