GET/desk/api/v2/conversationmessages/history/{token}.json

Get a paginated list of conversationmessages. This is a public endpoint,

authenticated via socket token.

        The following values are allowed in the [filter](https://apidocs.teamwork.com/guides/desk/filtering-api-results) query parameter:
    
  • contactId
  • createdAt
  • createdBy
  • deletedAt
  • deletedBy
  • id
  • message
  • state
  • updatedAt
  • updatedBy
  • userId

The following values are allowed in the orderBy query parameter:

  • contactId

  • createdAt

  • createdBy

  • deletedAt

  • deletedBy

  • id

  • message

  • state

  • updatedAt

  • updatedBy

  • userId

         The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
     
    
  • contacts

  • customers

  • files

  • users

  • all

Path Params

  • Name
    token
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    ConversationMessagesAPIBody handles the listing response for conversationmessage.
  • 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

ConversationMessagesAPIBody
{  "conversationmessages": [    {      "contactId": 0,      "createdAt": "2024-12-19T16:02:17.198Z",      "createdBy": {        "delete": true,        "id": 0,        "meta": {          "additionalProp": "Unknown Type: any"        },        "type": 0      },      "deletedAt": "2024-12-19T16:02:17.198Z",      "deletedBy": {        "delete": true,        "id": 0,        "meta": {