GET/desk/api/v2/tickets/:ticketId/messages.json

Get a paginated list of messages for a ticket.

The following values are allowed in the filter query parameter:

  • id
  • htmlBody
  • textBody
  • editMethod
  • emailMessageId
  • happinessrating
  • s3link
  • viewedByCustomerAt
  • mergedAt
  • taskId
  • contact
  • threadType
  • ticket
  • helpdoc
  • assigningUser
  • status
  • isPinned
  • createdAt
  • updatedAt
  • updatedBy
  • state

The following values are allowed in the orderBy query parameter:

  • id
  • htmlBody
  • textBody
  • editMethod
  • emailMessageId
  • happinessrating
  • s3link
  • viewedByCustomerAt
  • mergedAt
  • taskId
  • contact
  • threadType
  • ticket
  • helpdoc
  • assigningUser
  • status
  • isPinned
  • createdAt
  • updatedAt
  • updatedBy
  • state
  • createdAt

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • 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

200 OK

ThreadsAPIBody
{  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",        "createdAt": "2024-07-26T20:26:26.553Z",