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

Update message

Path Params

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

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-09-06T11:47:13.090Z",        "createdBy": {          "delete": true,          "id": 0,          "meta": {            "additionalProp": "Unknown Type: any"          },          "type": 0        },        "customer": {          "delete": true,          "id": 0,          "meta": {            "additionalProp": "Unknown Type: any"