PUT/messagereplies/{messageId}/react.json

React to a Message

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


Path Params

  • Name
    messageId
    Type
    string
    required
    Description

Body Params

    • Name
      reactionType
      Type
      string
    • Name
      get
      Type
      string

    Request Examples

    Example Request

    PUT
    /messagereplies/{messageId}/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"
        ]
      }
    }