GET/v/2/messages/{messageId}.json

Get Reactions to a Message

This is on the comments API, in order to turn the reactions you must add getReactions=true.


Path Params

  • Name
    messageId
    Type
    string
    required
    Description

Query Params

  • Name
    getReactions
    Type
    boolean
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "isOriginal": "1",
  "userFollowing": true,
  "lastChangedOn": "2019-03-15T17:21:01Z",
  "isRead": "1",
  "author": {
    "lastName": "Testers",
    "firstName": "Holly",
    "id": "1",
    "fullName": "Holly Testers",
    "avatarUrl": "",
    "company": "MCG Company"
  },
  "hasEditExpired": true,
  "canEditContents": true,
  "postedOn": "2018-12-21T11:36:30Z",
  "attachmentsCount": "0",
  "textBody": "Releasing phase 2",
  "category": {
    "color": "",
    "id": "",
    "name": ""
  },
  "attachments-count": "0",
  "attachments": [],
  "id": "1",
  "userDisplayPostedTime": "11:36AM",
  "messageStatus": "active",
  "contributingUsers": [
    {
      "lastName": "Testers",
      "firstName": "Holl",
      "id": "1",
      "fullName": "Holly Testers",
      "avatarURL": ""
    }
  ],
  "project": {
    "id": "1",
    "name": "Project Rebrand"
  },
  "reactions": {
    "counts": {
      "heart": "0",
      "like": "0",
      "joy": "1",
      "frown": "0",
      "dislike": "0"
    },
    "mine": [
      "joy"
    ]
  },
  "lastCommentDate": "2018-12-21T11:36:30Z",
  "contentType": "HTML",
  "followerIds": "1",
  "postStatus": "active",
  "canDelete": true,
  "company": {
    "name": "MCG Company"
  },
  "private": "0",
  "userDisplayPostedDate": "Fri, 21 Dec 2018",
  "numNotified": "0",
  "commentsCount": "0",
  "postId": "1",
  "title": "Update",
  "body": "<div>Releasing Rebrand</div>",
  "tags": []
}