Message Metadata

Gets the message metadata relationship. This API allows users to track the relationship between a message and all the forwards and replies of that message.

Get the message metadata relationship

GETyourpodURL.symphony.com/pod/v1/admin/messages/{messageId}/metadata/relationships
Path parameters
messageId*string

Valid id of a SOCIALMESSAGE

Header parameters
Response

Successful Operation

Body
messageIdstring
parentobject
repliesarray of string
forwardsarray of string
formRepliesarray of string
Request
const response = await fetch('yourpodURL.symphony.com/pod/v1/admin/messages/{messageId}/metadata/relationships', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "messageId": "text",
  "parent": {
    "messageId": "text",
    "relationshipType": "REPLY_FORM"
  },
  "replies": [
    "text"
  ],
  "forwards": [
    "text"
  ],
  "formReplies": [
    "text"
  ]
}

📘 Message Relationship

The Message Metadata API returns information about the current message relationships (parent, replies, forwards and form replies).

🚧 Required Roles

Calling this endpoint requires the Content Management role. See Bot Permissions for a list of roles and associated privileges.

Last updated