POST/desk/api/v2/tickets/{ticketId}/messages/{id}/react.json

React to a message

Path Params

  • Name
    ticketId
    Type
    integer
    required
    Description
  • Name
    id
    Type
    integer
    required
    Description

Body Params

ThreadReactionAPIBody handles the get/create/update request/response for threadreaction.

    • Name
      included
      Type
      object
      Description
      Included allows adding referenced objects on the API response. The included keys should map to the `types` in the Relationship slices/objects.
    • Name
      threadreaction
      Type
      object
      Description
      ThreadReaction represents a ThreadReaction.

    Responses

    • Code
      201
      Type
      object
      Schema
      Description
      201 Created
      ThreadReactionAPIBody handles the get/create/update request/response for threadreaction.
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

    Examples

    201 Created

    ThreadReactionAPIBody
    {  "included": {    "messages": [      {        "agentsNotified": [          {            "delete": true,            "id": 0,            "meta": {},            "type": 0          }        ],        "archivedTickets_id": {          "delete": true,          "id": 0,          "meta": {},          "type": 0        },