PATCH/desk/api/v2/tickets/:ticketId/messages/:id.json

Update message

Body Params

    • Name
      bcc
      Type
      array
    • Name
      cc
      Type
      array
    • Name
      files
      Type
      array
    • Name
      mentions
      Type
      array
    • Name
      message
      Type
      string
    • Name
      resendNotification
      Type
      boolean
    • Name
      status
      Type
      object
    • Name
      to
      Type
      array

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      ThreadAPIBody is the request/response format for the API
    • 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.
    • Code
      404
      Type
      object
      Schema
      Description
      404 Not Found
      Error represents an occurrence of an error in the API.

    Examples

    200 OK

    ThreadAPIBody
    {  "included": {    "files": [      {        "createdAt": "2024-04-16T16:34:31.508Z",        "createdBy": {          "delete": true,          "id": 0,          "meta": {},          "type": 0        },        "customer": {          "delete": true,          "id": 0,          "meta": {},          "type": 0        },        "deletedAt": "2024-04-16T16:34:31.508Z",