PUT/comments/{commentId}/react.json

React to a Comment

Reactions are only available to users who have the new dashboard enabled via the beta program. In order to do use reactions you need to first enable this.


Path Params

  • Name
    commentId
    Type
    string
    required
    Description

Request Examples

Example Request

PUT
/comments/{commentId}/react.json
curl --request GET \
     --url https://{site_name}.teamwork.com/stats.json

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "STATUS": "OK",
  "reactions": {
    "counts": {
      "heart": "1",
      "like": "0",
      "joy": "0",
      "frown": "0",
      "dislike": "0"
    },
    "mine": [
      "heart"
    ]
  }
}